/** * Utilities shared between the current (`expo-file-system`) and legacy * (`expo-file-system/legacy`) resource fetcher implementations. * * Everything in this module must stay free of `expo-file-system` imports — * it is pulled in by both entry points, so it can only depend on APIs that * exist regardless of which file-system API the consumer's SDK ships. */ import { ResourceSource, ResourceFetcherUtils as CoreUtils, SourceType } from 'react-native-executorch/legacy'; export declare const removeFilePrefix: typeof CoreUtils.removeFilePrefix; export declare const hashObject: typeof CoreUtils.hashObject; export declare const calculateDownloadProgress: typeof CoreUtils.calculateDownloadProgress; export declare const triggerHuggingFaceDownloadCounter: typeof CoreUtils.triggerHuggingFaceDownloadCounter; export declare const triggerDownloadEvent: typeof CoreUtils.triggerDownloadEvent; export declare const getFilenameFromUri: typeof CoreUtils.getFilenameFromUri; export declare function getType(source: ResourceSource): SourceType; export declare function getFilesSizes(sources: ResourceSource[]): Promise<{ results: { source: ResourceSource; type: SourceType; length: number; previousFilesTotalLength: number; }[]; totalLength: number; }>; //# sourceMappingURL=sharedUtils.d.ts.map