export declare class UploaderClient { private http; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise; }); getMediaById(mediaId: string | null): Promise; protected processGetMediaById(response: Response): Promise; upload(allowedExtensions: string | null | undefined, imagesOnly: boolean | null | undefined, maxFileSizeMb: number | null | undefined, maxHeight: number | null | undefined, maxWidth: number | null | undefined, minHeight: number | null | undefined, minWidth: number | null | undefined, file: FileParameter | null | undefined): Promise; protected processUpload(response: Response): Promise; getResponse(storagePath: string | null | undefined, filesizeBytes: number | undefined): Promise; protected processGetResponse(response: Response): Promise; } export interface FileMedia { urlPath?: string | undefined; mediaId?: string | undefined; filename?: string | undefined; extension?: string | undefined; sizeMb?: number; } export interface ProblemDetails { type?: string | undefined; title?: string | undefined; status?: number | undefined; detail?: string | undefined; instance?: string | undefined; } export interface FileParameter { data: any; fileName: string; } export declare class ApiException extends Error { message: string; status: number; response: string; headers: { [key: string]: any; }; result: any; constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any); protected isApiException: boolean; static isApiException(obj: any): obj is ApiException; } //# sourceMappingURL=index.d.ts.map