UNPKG

expo-file-system

Version:

Provides access to the local file system on the device.

10 lines 572 B
import type { Directory } from '../Directory'; import type { File } from '../File'; import type { WatchEvent, WatchOptions, WatchSubscription } from '../FileSystemWatcher.types'; type TargetFactory<T> = (uri: string, isDirectory: boolean) => T; export declare class FileSystemWatcher<T extends File | Directory> implements WatchSubscription { constructor(_path: string, _callback: (event: WatchEvent<T>) => void, _options: WatchOptions | undefined, _targetFactory: TargetFactory<T>); remove(): void; } export {}; //# sourceMappingURL=FileSystemWatcher.web.d.ts.map