import { type DialectConfig } from '../../dialect/index.js'; import { SchemaAST } from '../../schema/schemaAST.js'; import type { Dialect } from '../../type/index.js'; import type { TableSchema } from '../../type/migration.js'; /** * Base class for SQL introspectors with shared AST building logic. */ export declare abstract class BaseSqlIntrospector { protected readonly dialect: Dialect; protected readonly config: DialectConfig; constructor(dialect: Dialect); protected escapeId(identifier: string): string; /** * Introspect entire database schema and return SchemaAST. */ introspect(): Promise; abstract getTableNames(): Promise; abstract getTableSchema(tableName: string): Promise; /** * Build SchemaAST from table schemas. */ protected buildAST(tableSchemas: TableSchema[]): SchemaAST; private buildTables; private buildRelationships; private buildIndexes; private columnSchemaToCanonical; } //# sourceMappingURL=baseSqlIntrospector.d.ts.map