export type PostProcessClickhouseSqlOptions = {
    activeApplicationIds: string[];
    isEvalOnlyDomain: boolean;
    projectId?: string;
    /** When set (test-run UI), rewrite trace_id filters that use this id to test_run_id on eval_results. */
    scopedTestRunId?: string;
};
/**
 * Applies the same hardening pipeline as before LLM SQL is sent to ClickHouse.
 * Order is significant; keep in sync with historical behavior.
 */
export declare const postProcessGeneratedClickhouseSql: (sql: string, opts: PostProcessClickhouseSqlOptions) => string;
//# sourceMappingURL=clickhouseTextToSqlSqlFixes.d.ts.map