import { MobileFile, MobileInputFile } from '@codeleap/types'; export declare const stringToFile: (str: string) => MobileInputFile; /** Unwraps a `FileWithPreview` wrapper (which carries a `preview` URI for display) down to the raw `MobileFile` shape that the fetch layer can append to `FormData`; passing a `FileWithPreview` directly to `FormData.append` would serialize the wrapper object as a string. */ export declare function toMultipartFile(file: MobileInputFile): MobileFile<{}>; export declare function isFile(param: any): param is MobileInputFile; export declare function toMultipart(body: any, defaultFileValue?: string): FormData; export declare function getFileMimeType(uri: string): any; export declare function getFileInfo(uri: string): { name: string | undefined; type: any; uri: string; }; //# sourceMappingURL=misc.d.ts.map