diff --git a/index.d.ts b/index.d.ts index 2c16060..9d0a3a2 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1412,6 +1412,17 @@ type SAHPoolUtil = { * currently in use, e.g. by an sqlite3 db. */ wipeFiles: () => Promise; + + /** Unregister this VFS and release file access handles, without clearing + * files. The database must be closed before calling this. */ + pauseVfs: () => SAHPoolUtil; + + /** Returns `true` if this VFS pool is paused */ + isPaused: () => boolean; + + /** Re-register this VFS and re-acquire file access handles. Any previously + * open databases will have to be re-opened after calling this. */ + unpauseVfs: () => Promise; }; /** Exception class for reporting WASM-side allocation errors. */