export class FileHandle { constructor(file: FileEntry, writable?: boolean); file: FileEntry; kind: string; writable: boolean; readable: boolean; get name(): string; isSameEntry(other: { file: { toURL: () => string; }; }): boolean; getFile(): Promise; createWritable(opts: any): Promise; } export class FolderHandle { constructor(dir: DirectoryEntry, writable?: boolean); dir: FileSystemDirectoryEntry; writable: boolean; readable: boolean; kind: string; name: string; isSameEntry(other: FolderHandle): boolean; entries(): AsyncGenerator<[string, FileHandle | FolderHandle]>; getDirectoryHandle(name: string, opts: { create: boolean; }): Promise; getFileHandle(name: string, opts: { create: boolean; }): Promise; removeEntry(name: string, opts: { recursive: boolean; }): Promise; } declare function _default(opts?: {}): Promise; export default _default; declare class Sink { constructor(writer: FileWriter, fileEntry: FileEntry); writer: FileWriter; fileEntry: FileEntry; write(chunk: BlobPart | any): Promise; close(): Promise; }