import type { Knex } from 'knex'; import Dialect from '../dialect'; import MysqlSchemaInspector from './schema-inspector'; import MysqlDatabaseInspector from './database-inspector'; import type { Database } from '../..'; import type { Information } from './database-inspector'; export default class MysqlDialect extends Dialect { schemaInspector: MysqlSchemaInspector; databaseInspector: MysqlDatabaseInspector; info: Information | null; constructor(db: Database); configure(conn?: Knex.MySqlConnectionConfig): void; initialize(nativeConnection: unknown): Promise; startSchemaUpdate(): Promise; endSchemaUpdate(): Promise; supportsUnsigned(): boolean; usesForeignKeys(): boolean; /** * Drops the foreign-key constraint named `name` on `table` (MySQL FK names * are unique per database, so a stale one blocks re-creating it on any * table), then the index of the same name. Runs on `trx`. */ dropSchemaObject(trx: Knex, { table, name }: { table: string; name: string; }): Promise; transformErrors(error: Error): void; } //# sourceMappingURL=index.d.ts.map