export type Row = Array; export type RowObject = Record; export type QueryParameter = | boolean | number | bigint | string | null | undefined | Date | Uint8Array; export type QueryParameterSet = | Record | Array; export type SqliteMaster = { type: string; name: string; tbl_name: string; rootpage: number; sql: string; }; export interface Db { close(force?: boolean): void; execute(sql: string): void; query( sql: string, params?: QueryParameterSet, ): Array; queryEntries( sql: string, params?: QueryParameterSet, ): Array; transaction(fn: () => V): V; }