import { type File } from '../types';
/**
 * Represents a file fetched from a URL, compatible with the upload pipeline
 */
interface UrlFetchedFile {
    filepath: string;
    originalFilename: string;
    mimetype: string;
    size: number;
    tmpWorkingDirectory?: string;
}
interface FetchUrlResult {
    file: UrlFetchedFile;
}
export type { UrlFetchedFile, FetchUrlResult };
declare const _default: {
    getFolderPath: (folderId?: number | null) => Promise<any>;
    deleteByIds: (ids?: number[]) => Promise<any[]>;
    signFileUrls: (file: File) => Promise<File>;
    fetchUrlToInputFile: (url: string, tmpWorkingDirectory: string, sizeLimit?: number) => Promise<FetchUrlResult>;
};
export default _default;
//# sourceMappingURL=file.d.ts.map