import type { Transaction, SQLiteQueryParams, QueryResultRow, QueryResult } from './types'; interface TypeOrmNitroSQLiteConnection { executeSql: (sql: string, params: SQLiteQueryParams | undefined, okExecute: (res: QueryResult) => void, failExecute: (msg: string) => void) => Promise; transaction: (fn: (tx: Transaction) => Promise) => Promise; close: (okClose: () => void, failClose: (e: unknown) => void) => void; attach: (dbNameToAttach: string, alias: string, location: string | undefined, callback: () => void) => void; detach: (alias: string, callback: () => void) => void; } /** * DO NOT USE THIS! THIS IS MEANT FOR TYPEORM * If you are looking for a convenience wrapper use `connect` */ export declare const typeORMDriver: { openDatabase: (options: { name: string; location?: string; }, ok: (db: TypeOrmNitroSQLiteConnection) => void, fail: (msg: string) => void) => TypeOrmNitroSQLiteConnection | null; }; export {}; //# sourceMappingURL=typeORM.d.ts.map