import { Pattern } from '../../../types';
export interface WorkflowStep {
    action: 'accept' | 'reject' | 'edit_diff' | 'retry';
    patternId: string;
    description: string;
    from: string;
    to: string;
    timestamp: number;
    sessionId: string;
}
export interface WorkflowSession {
    sessionId: string;
    startedAt: number;
    completedAt: number;
    steps: WorkflowStep[];
    success: boolean;
    taskDescription?: string;
    language: string;
    framework: string;
}
export declare function recordStep(pattern: Pattern, action: WorkflowStep['action']): WorkflowStep;
export declare function completeWorkflow(sessionId: string, success: boolean): WorkflowSession | null;
export declare function getActiveWorkflows(): {
    sessionId: string;
    stepCount: number;
    duration: number;
}[];
export declare function getCompletedWorkflows(limit?: number): WorkflowSession[];
export declare function getWorkflowStats(): {
    totalCompleted: number;
    successRate: number;
    avgStepsPerWorkflow: number;
    activeSessions: number;
};
export declare function getCurrentSessionId(): string;
//# sourceMappingURL=workflow-tracker.d.ts.map