/** * Returns the lexicographically-latest ClickHouse migration filename under * `dir` (e.g. `"011-issue-brief-citations.sql"`). Matches the file selection * `runSqlMigrations` performs at runtime so the synth-time gate value equals * the value the runner records in `_schema_migrations.ch_version`. * * Synchronous I/O — safe at both CDK synth time (the new use site) and inside * the migration runner script (the existing applier). Throws when the * directory contains no `.sql` files (after stripping `.dev.sql`). */ export declare function pickLatestClickHouseMigration(dir: string): string;