import type { DatabaseSync, StatementSync } from "node:sqlite"; /** * A statement that returns SQLite integers as `bigint` rather than throwing. * * A plain node:sqlite read raises a RangeError, including the stored value in * its message, when an INTEGER exceeds JavaScript's safe range. Adapter * parsers need to receive that value so they can refuse it without disclosing * it. */ export declare function reading(database: DatabaseSync, sql: string): StatementSync; /** One consistent SQLite snapshot, without advertising a caller-owned write transaction. */ export declare function readTransaction(database: DatabaseSync, body: () => T): T;