import { VfsBackend } from '../core/types'; export interface OpfsFsOptions { /** Root directory name within OPFS. Default: "texlive-wasm". */ rootName?: string; /** * Namespace the cache by the TL build it belongs to (the manifest's * `version`). Files cached for one build are not valid for another — and an * unversioned cache is a place for one document's poisoned download to * outlive it. Default: "unversioned", which keeps pre-existing caches * readable. */ version?: string; } /** VfsBackend plus the write-through hook FetchFS feeds (see vfs/index.ts). */ export interface OpfsBackend extends VfsBackend { /** Persist a fetched file into the cdn/ cache tier. Failures are swallowed. */ write(tdsPath: string, bytes: Uint8Array): Promise; } export declare function createOpfsFs(opts?: OpfsFsOptions): Promise; //# sourceMappingURL=opfsfs.d.ts.map