import type { Check } from "./checks.cjs"; import type { ForeignKey } from "./foreign-keys.cjs"; import type { Index } from "./indexes.cjs"; import type { PrimaryKey } from "./primary-keys.cjs"; import type { IndexForHint } from "./query-builders/select.cjs"; import { MySqlTable } from "./table.cjs"; import { type UniqueConstraint } from "./unique-constraint.cjs"; import type { MySqlView } from "./view.cjs"; export declare function getTableConfig(table: MySqlTable): { columns: import("./index.ts").MySqlColumn, {}, {}>[]; indexes: Index[]; foreignKeys: ForeignKey[]; checks: Check[]; primaryKeys: PrimaryKey[]; uniqueConstraints: UniqueConstraint[]; name: string; schema: string | undefined; baseName: string; }; export declare function getViewConfig(view: MySqlView): { algorithm?: "undefined" | "merge" | "temptable"; sqlSecurity?: "definer" | "invoker"; withCheckOption?: "cascaded" | "local"; name: TName; originalName: TName; schema: string | undefined; selectedFields: import("../index.ts").ColumnsSelection; isExisting: TExisting; query: TExisting extends true ? undefined : import("../index.ts").SQL; isAlias: boolean; }; export declare function convertIndexToString(indexes: IndexForHint[]): string[]; export declare function toArray(value: T | T[]): T[];