import { DatabaseSync } from 'node:sqlite'; export type SqliteValue = null | number | bigint | string | NodeJS.ArrayBufferView; export type SqliteRow = Record; export interface SqliteStatement { run(...parameters: SqliteValue[]): void; get(...parameters: SqliteValue[]): T | undefined; all(...parameters: SqliteValue[]): T[]; } export interface SqliteDatabase { readonly filePath: string; exec(sql: string): void; prepare(sql: string): SqliteStatement; close(): void; } export interface SqliteSerializationDatabase { serializeDatabase(): Uint8Array; } export declare class NodeSqliteAdapter implements SqliteDatabase, SqliteSerializationDatabase { readonly filePath: string; private readonly database; constructor(filePath: string, database: DatabaseSync); exec(sql: string): void; prepare(sql: string): SqliteStatement; serializeDatabase(): Uint8Array; close(): void; } //# sourceMappingURL=adapter.d.ts.map