import type { ResultRow, SyncClient } from '../types.js'; export interface NodeSqliteStatementLike { all(...params: unknown[]): ResultRow[]; iterate(...params: unknown[]): IterableIterator; run(...params: unknown[]): { changes?: number | bigint; lastInsertRowid?: string | number | bigint | null; }; /** Optional. Native node:sqlite `StatementSync` exposes `finalize`; structural mocks may not. */ finalize?(): void; } export interface NodeSqliteDatabaseLike { prepare(query: string): NodeSqliteStatementLike; } export declare function createNodeSqliteClient(database: NodeSqliteDatabaseLike): SyncClient; export declare const createNodeSqliteDatabase: typeof createNodeSqliteClient;