@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 48 lines 1.47 KB
Raw
1 /**
2 * Declares the wa-sqlite IndexedDB batch-atomic VFS example module.
3 *
4 * @stability unstable
5 * @since 4.0.0
6 */
7 declare module "@effect/wa-sqlite/src/examples/IDBBatchAtomicVFS.js" {
8 /**
9 * IndexedDB-backed wa-sqlite virtual file system that batches writes and
10 * commits them atomically.
11 *
12 * @category models
13 * @since 4.0.0
14 */
15 // oxlint-disable-next-line @typescript-eslint/no-extraneous-class
16 export class IDBBatchAtomicVFS {
17 /**
18 * Creates a batch-atomic IndexedDB VFS registered under `name` for the
19 * provided wa-sqlite module. The optional `options` value is forwarded to
20 * the upstream VFS implementation.
21 */
22 static async create(name: string, module: any, options?: any): Promise<any>
23 }
24 }
25
26 /**
27 * Declares the wa-sqlite OPFS access-handle pool VFS example module.
28 *
29 * @since 4.0.0
30 */
31 declare module "@effect/wa-sqlite/src/examples/AccessHandlePoolVFS.js" {
32 /**
33 * OPFS-backed wa-sqlite virtual file system that pools file-system access
34 * handles for persistent browser storage.
35 *
36 * @category models
37 * @since 4.0.0
38 */
39 // oxlint-disable-next-line @typescript-eslint/no-extraneous-class
40 export class AccessHandlePoolVFS {
41 /**
42 * Creates an OPFS access-handle pool VFS registered under `name` for the
43 * provided wa-sqlite module. The optional `options` value is forwarded to
44 * the upstream VFS implementation.
45 */
46 static async create(name: string, module: any, options?: any): Promise<any>
47 }
48 }