/** * Pre-flight: verify that the SQLite adapter loads and a writable DB can be * opened. * * Called before binding the port so a broken native build fails loudly with * a helpful hint instead of crashing later when the first WS connection * arrives. * * Implementation note: we test by opening the *real* target path. Opening a * tmpfile would only verify that the native module loads, not that the * config dir is writable. Since `open()` already creates the file/dir * idempotently, this is safe to call repeatedly. */ export interface PreflightResult { ok: boolean; /** Human-friendly error message ready to print. Set when ok=false. */ error?: string; } export declare function preflightSqlite(dbPath: string): PreflightResult; //# sourceMappingURL=preflight.d.ts.map