UNPKG

481 BTypeScriptView Raw
1import * as sqlite3 from 'sqlite3';
2import { Statement } from './Statement';
3import { Database } from './Database';
4import { ISqlite, IMigrate } from './interfaces';
5/**
6 * Opens a database for manipulation. Most users will call this to get started.
7 */
8declare function open<Driver extends sqlite3.Database = sqlite3.Database, Stmt extends sqlite3.Statement = sqlite3.Statement>(config: ISqlite.Config): Promise<Database>;
9export { open, Statement, Database, ISqlite, IMigrate };