type BrowserFile = File;
type RNFile = {
    uri: string;
    name: string;
    type?: string;
};
type UniversalFile = BrowserFile | RNFile;
type UploadResponse = {
    fileId: string;
    relativePath: string;
    publicPath: string;
};
declare function useUploadFile(): (file: UniversalFile, pathParts: string[]) => Promise<UploadResponse | void>;
export default useUploadFile;
