// bun:sqlite shim for tsc type-checking (Bun runtime uses built-in bun:sqlite) // Mapped via tsconfig paths: "bun:sqlite" -> this file // Types only — no implementation (Bun provides the real implementation at runtime) // *Any* type used for complex return types to avoid deep shim maintenance export class Database { // eslint-disable-next-line @typescript-eslint/no-explicit-any query(sql: string, ...params: any[]): any { throw new Error('shim') } // eslint-disable-next-line @typescript-eslint/no-explicit-any prepare(sql: string): any { throw new Error('shim') } // eslint-disable-next-line @typescript-eslint/no-explicit-any run(sql: string, ...params: any[]): any { throw new Error('shim') } exec(sql: string): void { throw new Error('shim') } close(): void { throw new Error('shim') } inTransaction(callback: () => boolean): boolean { throw new Error('shim') } constructor(filename: string, options?: Record) { throw new Error('shim') } } // eslint-disable-next-line @typescript-eslint/no-explicit-any export type StatementHandle = any // eslint-disable-next-line @typescript-eslint/no-explicit-any export type DatabaseHandle = any