import { ClassType } from '@deepkit/core';
import { MySQLDatabaseAdapter as BaseMySQLDatabaseAdapter } from '@deepkit/mysql';
import { Database, DatabaseSession } from '@deepkit/orm';
import { PoolConfig } from 'mariadb';
import { BaseDatabase } from './common';
export type MySQLDatabaseSession = DatabaseSession<MySQLDatabaseAdapter>;
export declare class MySQLDatabaseAdapter extends BaseMySQLDatabaseAdapter {
    registerTransformations(): void;
}
export interface IMySQLDatabaseAdapterConfig extends PoolConfig {
    enableLocksTable?: boolean;
}
export declare function createMySQLDatabase(config: IMySQLDatabaseAdapterConfig, entities?: ConstructorParameters<typeof Database>[1]): ClassType<BaseDatabase<MySQLDatabaseAdapter>>;
export declare type __ΩMySQLDatabaseSession = any[];
export declare type __ΩIMySQLDatabaseAdapterConfig = any[];
//# sourceMappingURL=mysql.d.ts.map