import { type Summary } from './percentile.helpers';
export type BenchIterationResult = {
    iteration: number;
    error?: string;
    total_ms: number;
    parallel_reads_ms: number;
    owner_and_sa_reads_ms: number;
    sa_issue_ms: number;
    sa_http_ms: number;
    sa_didauthvp_ms: number;
    log_activity_and_send_boost_ms: number;
};
export type BenchSummary = {
    iteration_count: number;
    errors: number;
    total: Summary;
    sa_issue: Summary;
    sa_http: Summary;
    parallel_reads: Summary;
    owner_and_sa_reads: Summary;
    log_activity_and_send_boost: Summary;
};
export type BenchRunResult = {
    runId: string;
    perIteration: BenchIterationResult[];
    summary: BenchSummary;
    posthogDashboardUrl?: string;
};
export declare const runBench: (params: {
    iterations: number;
    warmup: number;
    runLabel: string;
    listingId: string;
    recipientProfileId: string;
    runIteration: () => Promise<{
        captured: {
            total_ms: number;
            phases: Record<string, number>;
        };
        saHttpMs: number;
        saDidAuthVpMs: number;
    }>;
}) => Promise<BenchRunResult>;
//# sourceMappingURL=bench-appevent.helpers.d.ts.map