// @pds/storage-sqlite/driver - SQLite driver interface types // Both better-sqlite3 and node:sqlite implement this interface natively /** * @typedef {Object} SQLiteStatement * @property {(...args: any[]) => any} get - Single row query * @property {(...args: any[]) => any[]} all - Multi-row query * @property {(...args: any[]) => {changes: number | bigint}} run - Execute INSERT/UPDATE/DELETE */ /** * @typedef {Object} SQLiteDatabase * @property {(sql: string) => void} exec - Execute raw SQL (DDL, multiple statements) * @property {(sql: string) => SQLiteStatement} prepare - Create prepared statement */ export {};