Files
Fluxup_PAP/node_modules/expo-file-system/build/ExpoFileSystem.d.ts
2026-03-10 16:18:05 +00:00

19 lines
874 B
TypeScript

import { NativeModule } from 'expo-modules-core';
import type { Directory, File, DownloadOptions, PathInfo } from './ExpoFileSystem.types';
declare class ExpoFileSystemModule extends NativeModule {
FileSystemDirectory: typeof Directory;
FileSystemFile: typeof File;
downloadFileAsync(url: string, destination: File | Directory, options?: DownloadOptions): Promise<string>;
pickDirectoryAsync(initialUri?: string): Promise<Directory>;
pickFileAsync(initialUri?: string, mimeType?: string): Promise<File>;
info(uri: string): PathInfo;
totalDiskSpace: number;
availableDiskSpace: number;
documentDirectory: string;
cacheDirectory: string;
bundleDirectory: string;
appleSharedContainers?: Record<string, string>;
}
declare const _default: ExpoFileSystemModule;
export default _default;
//# sourceMappingURL=ExpoFileSystem.d.ts.map