export type AutoFixWorkflowStage = 'detected_autofix_enabled' | 'detected_autofix_disabled' | 'completed_success' | 'completed_failed' | 'blocked_library_issue';
export type SlowQueryWorkflowStage = 'detected_auto_optimize_enabled' | 'completed_success' | 'completed_failed';
export interface GeneratedAutoFixSummaryContext {
    source_app?: string;
    environment?: string;
    severity?: string;
    error?: string;
}
export interface ResolveIOProjectAutoFixDetailsContext {
    client_name?: string;
    issue_counter?: string;
    source_app?: string;
    environment?: string;
    severity?: string;
    summary?: string;
    branch_name?: string;
    pr_url?: string;
    issue_hash?: string;
    log_id?: string;
    notes?: string;
    error?: string;
}
export interface GeneratedSlowQuerySummaryContext {
    collection?: string;
    source_app?: string;
    environment?: string;
    baseline_duration_ms?: number;
    after_duration_ms?: number;
    reason?: string;
    notes?: string;
}
export interface ResolveIOProjectSlowQueryDetailsContext {
    collection?: string;
    client_name?: string;
    client_slug?: string;
    source_app?: string;
    environment?: string;
    query_hash?: string;
    baseline_duration_ms?: number;
    after_duration_ms?: number;
    verification_run_durations_ms?: number[];
    log_id?: string;
    reason?: string;
    notes?: string;
}
export declare function buildGeneratedAppAutoFixSummary(stage: AutoFixWorkflowStage, context: GeneratedAutoFixSummaryContext, extra?: {
    error?: string;
    notes?: string;
}): string;
export declare function buildResolveIOProjectAutoFixDetails(context: ResolveIOProjectAutoFixDetailsContext): string;
export declare function buildGeneratedSlowQuerySummary(stage: SlowQueryWorkflowStage, context: GeneratedSlowQuerySummaryContext, extra?: {
    reason?: string;
    notes?: string;
}): string;
export declare function buildResolveIOProjectSlowQueryDetails(context: ResolveIOProjectSlowQueryDetailsContext): string;
