import { type AbstractSqlConnection, type CheckDef, type Column, type IndexDef, type DatabaseSchema, type Table, MySqlSchemaHelper } from '@mikro-orm/mysql'; import { type Dictionary, type Transaction, type Type } from '@mikro-orm/core'; /** Schema introspection helper for MariaDB. */ export declare class MariaDbSchemaHelper extends MySqlSchemaHelper { /** * MariaDB does not support inline expression indexes the way MySQL 8.0+ does, so the * `(CASE WHEN THEN END)` emulation MikroORM uses on MySQL would error out. * For partial indexes on MariaDB, define a virtual generated column and index that instead. */ protected getIndexColumns(index: IndexDef): string; protected appendMySqlIndexSuffix(sql: string, index: IndexDef): string; loadInformationSchema(schema: DatabaseSchema, connection: AbstractSqlConnection, tables: Table[], schemas?: string[], ctx?: Transaction): Promise; getAllIndexes(connection: AbstractSqlConnection, tables: Table[], ctx?: Transaction): Promise>; getAllColumns(connection: AbstractSqlConnection, tables: Table[], ctx?: Transaction): Promise>; getAllChecks(connection: AbstractSqlConnection, tables: Table[], ctx?: Transaction, columns?: Dictionary): Promise>; protected getChecksSQL(tables: Table[]): string; protected wrap(val: string | undefined | null, type: Type): string | undefined | null; }