/// <reference types="pouchdb-core" />
/// <reference types="node" />
import { FileBindings, FileReadOptions, FileWriteOptions, IOpenFileDialogInit, IOpenFileDialogResult, ISaveFileDialogInit, ISaveFileDialogResult } from "../base/FileBindings.js";
export declare class WebFileBindings extends FileBindings {
    /**
     * Keeps references to file handles mapped to the generated path.
     */
    protected handles: Map<string, FileSystemFileHandle>;
    saveFileDialog(opts?: ISaveFileDialogInit): Promise<ISaveFileDialogResult>;
    openFileDialog(opts?: IOpenFileDialogInit): Promise<IOpenFileDialogResult>;
    writeFile(path: string, contents: string | Buffer | BufferSource | Blob, opts?: FileWriteOptions): Promise<void>;
    readFile(path: string, opts?: FileReadOptions): Promise<string | Buffer | ArrayBuffer>;
    dispose(path: string): Promise<void>;
}
//# sourceMappingURL=WebFileBindings.d.ts.map