Files
2026-04-07 22:06:36 +02:00

11 lines
730 B
TypeScript

export type QueryParams = Record<string, string | number | boolean | undefined>;
export declare function apiGet(path: string, params?: QueryParams): Promise<Response>;
export declare function apiGetImage(path: string, params?: QueryParams): Promise<string>;
export declare function apiGetJson<T>(path: string, params?: QueryParams): Promise<T>;
export declare function apiGetText(path: string, params?: QueryParams): Promise<string>;
export declare function apiGetDataUri(path: string, params?: QueryParams): Promise<{
base64: string;
mimeType: string;
}>;
export declare function apiPostImage(path: string, queryParams: QueryParams, formBody: Record<string, string>): Promise<string>;
//# sourceMappingURL=client.d.ts.map