/** * Lightweight CREATE TABLE / REFERENCES extraction for FK-based apply ordering. * Not a full SQL parser; best-effort for typical DDP state DDL. */ export declare function stripSqlComments(sql: string): string; /** Quoted identifiers keep inner case; unquoted fold like PostgreSQL. */ export declare function normalizePgTableIdent(raw: string): string; export interface IParsedStateTableSql { /** First CREATE TABLE in file; null if none or ambiguous. */ tableName: string | null; /** Referenced table names from REFERENCES clauses (normalized). */ referencedTables: string[]; /** More than one top-level CREATE TABLE — skip automatic reorder for this file. */ multipleCreates: boolean; } export declare function parseStateTableSqlForDependencySort(sql: string): IParsedStateTableSql; //# sourceMappingURL=parseStateTableSql.d.ts.map