UNPKG

@e280/quay

Version:

File-browser and outliner UI for the web

12 lines (11 loc) 460 B
import { Forklift } from "./forklift.js"; export declare class OpfsForklift implements Forklift { private directory; static setup(dirname: string): Promise<OpfsForklift>; constructor(directory: FileSystemDirectoryHandle); list(): AsyncIterable<string>; has(label: string): Promise<boolean>; save(label: string, bytes: Uint8Array): Promise<void>; load(label: string): Promise<Uint8Array>; delete(label: string): Promise<void>; }