import type { ProfileId } from '../profiles/index.js';
import type { WorkflowPhase } from '../types/index.js';
export type ClarificationEntry = {
    question: string;
    answer: string;
    fromRole: ProfileId;
    toRole: string;
    phase: WorkflowPhase;
    timestamp: string;
};
export type ClarificationHandler = (question: string, options?: string[]) => Promise<string>;
export declare class ClarificationRelay {
    private readonly history;
    private readonly handler;
    constructor(handler: ClarificationHandler);
    relay(question: string, phase: WorkflowPhase, fromRole: ProfileId, options?: string[]): Promise<string>;
    getHistory(): ClarificationEntry[];
    getPhaseHistory(phase: WorkflowPhase): ClarificationEntry[];
    clear(): void;
}
