import type { Request, Response } from 'express';
import type { BackfillEvalResultsDenormOptions } from '../../services/evalResultsClickhouse/evalDenormBackfillTypes';
import { type RunClickhouseEvalDenormMigrationsOptions } from '../../services/evalResultsClickhouse/clickhouseEvalDenormMigrations';
import { type RunPostgresEvalDenormMigrationsOptions } from '../../services/evalResultsClickhouse/postgresEvalDenormMigrations';
export declare function assertClickhouseSchemaAdminSecret(req: Request, res: Response): boolean;
/** Parse POST body for ClickHouse eval-denorm DDL migrate. */
export declare function parseClickhouseEvalDenormMigrateBody(body: Record<string, unknown>): RunClickhouseEvalDenormMigrationsOptions;
/** Parse POST body for Postgres eval-denorm DDL migrate. */
export declare function parsePostgresEvalDenormMigrateBody(body: Record<string, unknown>): RunPostgresEvalDenormMigrationsOptions;
/** Parse POST body for eval-denorm backfill (targets set by route: ch | pg). */
export declare function parseEvalDenormBackfillBody(body: Record<string, unknown>, targets: 'ch' | 'pg'): BackfillEvalResultsDenormOptions;
declare function handleMigrateClickhouse(req: Request, res: Response): Promise<void>;
declare function handleMigratePostgres(req: Request, res: Response): Promise<void>;
declare function handleBackfillClickhouse(req: Request, res: Response): Promise<void>;
declare function handleBackfillPostgres(req: Request, res: Response): Promise<void>;
declare function handleGetBackfillStatus(req: Request, res: Response): Promise<void>;
export declare const EvalDenormMigrationApi: {
    migrateClickhouse: typeof handleMigrateClickhouse;
    migratePostgres: typeof handleMigratePostgres;
    backfillClickhouse: typeof handleBackfillClickhouse;
    backfillPostgres: typeof handleBackfillPostgres;
    getBackfillStatus: typeof handleGetBackfillStatus;
};
export {};
//# sourceMappingURL=evalDenormApi.d.ts.map