export type SqlValue = string | number | null export type Row = Record /** The few SQL operations the store needs, over SQLite in a worker or in tests. */ export interface SqlDb { run(sql: string, params?: SqlValue[]): void all(sql: string, params?: SqlValue[]): T[] transaction(fn: () => void): void }