1import './polyfillNextTick'; 2import { WebSQLDatabase } from './SQLite.types'; 3/** 4 * Open a database, creating it if it doesn't exist, and return a `Database` object. On disk, 5 * the database will be created under the app's [documents directory](../filesystem), i.e. 6 * `${FileSystem.documentDirectory}/SQLite/${name}`. 7 * > The `version`, `description` and `size` arguments are ignored, but are accepted by the function 8 * for compatibility with the WebSQL specification. 9 * @param name Name of the database file to open. 10 * @param version 11 * @param description 12 * @param size 13 * @param callback 14 * @return 15 */ 16export declare function openDatabase(name: string, version?: string, description?: string, size?: number, callback?: (db: WebSQLDatabase) => void): WebSQLDatabase; 17