UNPKG

@shapediver/sdk.geometry-api-sdk-v2

Version:
12 lines 727 B
import { AxiosError, AxiosPromise } from 'axios'; import { RequestError, ResponseError } from './error'; export declare function sleep(ms: number): Promise<void>; export declare function extractFileInfo(headers: Record<string, any> | 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<unknown>): Promise<boolean>; export declare function processError(error: AxiosError | Error): Error | RequestError | ResponseError; //# sourceMappingURL=utils.d.ts.map