import type { ClickHouseExecutor } from './index.js'; export declare function waitForTable(executor: ClickHouseExecutor, database: string, tableName: string): Promise; export declare function waitForView(executor: ClickHouseExecutor, database: string, viewName: string): Promise; export declare function waitForDictionary(executor: ClickHouseExecutor, database: string, dictionaryName: string): Promise; export declare function waitForColumn(executor: ClickHouseExecutor, database: string, tableName: string, columnName: string): Promise; /** * Polls a query until its rows satisfy `predicate`, then returns them. Use for * reads that race DDL/DML propagation on managed ClickHouse (e.g. journal rows * written by a just-finished migration that aren't yet visible via FINAL). */ export declare function waitForRows(executor: ClickHouseExecutor, sql: string, predicate: (rows: T[]) => boolean, label?: string): Promise; export declare function waitForTableAbsent(executor: ClickHouseExecutor, database: string, tableName: string): Promise; /** * Waits for DDL propagation based on the operation type and key. * Called after each DDL statement in the migration execution loop. */ export declare function waitForDDLPropagation(executor: ClickHouseExecutor, operationType: string, operationKey: string): Promise; //# sourceMappingURL=ddl-propagation.d.ts.map