import { type DownloadTask } from 'expo-file-system'; import { ResourceSource } from 'react-native-executorch/legacy'; import { DownloadStatus } from './ResourceFetcherUtils'; export interface ActiveDownload { downloadTask: DownloadTask; status: DownloadStatus; uri: string; fileUri: string; cacheFileUri: string; resolve: (path: string) => void; reject: (error: unknown) => void; } export declare function handleObject(source: object): Promise; export declare function handleLocalFile(source: string): string; export declare function handleAsset(source: number, progressCallback: (progress: number) => void, downloads: Map): Promise; export declare function handleRemote(uri: string, source: ResourceSource, progressCallback: (progress: number) => void, downloads: Map): Promise<{ path: string; wasDownloaded: boolean; }>; //# sourceMappingURL=handlers.d.ts.map