import { AxiosError, AxiosPromise } from 'axios'; import { RequestError, ResponseError } from './error'; type SdErrorObject = { error: string; desc: string; message: string; }; export declare function sleep(ms: number): Promise; export declare function extractFileInfo(headers: Record | undefined): { size: number | undefined; filename: string | undefined; }; export declare function contentDispositionFromFilename(filename: string): string; export declare function filenameFromContentDisposition(contentDisposition: string): string | undefined; export declare function exists(apiCall: () => AxiosPromise): Promise; export declare function tryExtractErrorObject(data: unknown): Promise; export declare function processError(error: AxiosError | Error): Promise; export {}; //# sourceMappingURL=utils.d.ts.map