import type { CopyProgress } from './NativeReactNativeLocalDownload'; import { PermissionsAndroid } from 'react-native'; export declare function getContentFd(uri: string): Promise; export declare function closeFd(uri: string): Promise; export declare function persistContentPermission(uri: string): Promise; export declare function copyFileSAF(sourceUri: string, destPath: string, onProgress?: (progress: CopyProgress) => void): Promise; /** * * @param uri path to content to be sent to downloads * @param never_ask_function callback if android permissions are set to `never_ask_again` * @returns */ export declare function localDownload(uri: string, never_ask_function?: () => void | undefined): Promise; export declare const requestStoragePermission: () => Promise; export type { CopyProgress }; //# sourceMappingURL=index.d.ts.map