export type SqliteValue = null | number | bigint | string | Uint8Array; export type SqliteRow = Readonly>; export interface SqliteRunResult { readonly changes: number; } export interface SqliteExecutor { exec(sql: string): Promise; run(sql: string, ...params: readonly SqliteValue[]): Promise; get(sql: string, ...params: readonly SqliteValue[]): Promise; all(sql: string, ...params: readonly SqliteValue[]): Promise; } export interface StorageDescriptor { readonly adapter: string; readonly location: string; } export interface SqliteDatabase extends SqliteExecutor { readonly descriptor: StorageDescriptor; transaction(callback: (transaction: SqliteExecutor) => Promise): Promise; close(): Promise; } //# sourceMappingURL=database.d.ts.map