import { Database, type Statement } from "bun:sqlite"; export interface SQLiteTelemetryEvent { sql: string; durationMs: number; } export interface SQLiteConnectionOptions { filepath: string; readonly?: boolean; busyTimeoutMs?: number; telemetry?: (event: SQLiteTelemetryEvent) => void; } export declare class SQLiteClient { #private; constructor(options: SQLiteConnectionOptions); get native(): Database; close(): void; exec(sql: string): void; run(sql: string, params?: unknown[]): void; get(sql: string, params?: unknown[]): T | undefined; all(sql: string, params?: unknown[]): T[]; prepare(sql: string): Statement; transaction(fn: (client: SQLiteClient) => Promise | T): Promise; } export declare function createSQLiteClient(options: SQLiteConnectionOptions): SQLiteClient; //# sourceMappingURL=sqlite.d.ts.map