import { Options } from "sequelize";
/** Config for connecting to a database */
export interface DbConfig {
    dbName: string;
    user: string;
    password: string;
}
/** Connect to existing database.
 *  @returns Promise<"success"> or throws an error */
export declare function connect(dbConfig: DbConfig, sequelizeOptions: Options): Promise<string>;
/** Create new database.
 *  @returns Promise<void> or throws an error */
export declare function createDb(dbConfig: DbConfig, sequelizeOptions: Options): Promise<void>;
