import type { OneFSAdapter, OneFSFile, OneFSOpenOptions, OneFSSaveOptions, StoredHandle, OneFSResult } from '../types'; /** * Fallback adapter for browsers without File System Access API. * Uses for selection and downloads for saving. * * Note: saveFile() triggers a download rather than saving in-place. * Check capabilities.canSaveInPlace to detect this behavior. */ export declare class PickerIDBAdapter implements OneFSAdapter { platform: "web-fallback"; private storage; private persistByDefault; constructor(appName: string, maxRecentFiles?: number, persistByDefault?: boolean); isSupported(): boolean; openFile(options?: OneFSOpenOptions): Promise>; /** * "Save" by triggering a download. Does not save in-place. * The file is also stored in IndexedDB for restoration via getRecentFiles(). */ saveFile(file: OneFSFile, content: Uint8Array | string, options?: OneFSSaveOptions): Promise>; /** * Save as a new file by triggering a download. */ saveFileAs(content: Uint8Array | string, options?: OneFSSaveOptions): Promise>; private triggerDownload; getRecentFiles(): Promise; restoreFile(stored: StoredHandle): Promise>; removeFromRecent(id: string): Promise; clearRecent(): Promise; dispose(): void; }