/** * @file Reusable SQLite helpers for the Socket `_state` database. Built on * `node:sqlite` (Node 22+), WAL mode, owner-only permissions. Apps own their * schema and queries; this module only opens, closes, and creates tables. */ import type { DatabaseSync } from 'node:sqlite'; export declare function closeSocketStateDb(db: DatabaseSync): void; export declare function ensureTable(db: DatabaseSync, name: string, columns: string): void; export declare function openSocketStateDb(appName: string): DatabaseSync; export declare function quoteIdentifier(name: string): string;