import { DatabasePromise, DatabaseOpts, SqliteError } from "@tursodatabase/database-common"; declare class Database extends DatabasePromise { #private; constructor(path: string, opts?: DatabaseOpts); /** * connect database and pre-open necessary files in the OPFS */ connect(): Promise; /** * close the database and relevant files */ close(): Promise; } /** * Creates a new database connection asynchronously. * * @param {string} path - Path to the database file. * @param {Object} opts - Options for database behavior. * @returns {Promise} - A promise that resolves to a Database instance. */ declare function connect(path: string, opts?: DatabaseOpts): Promise; export { connect, Database, SqliteError }; //# sourceMappingURL=promise-vite-dev-hack.d.ts.map