export interface ExecutionAttempt {
    role: 'planner' | 'executor' | 'reviewer' | 'synthesizer';
    summary: string;
    artifactPath?: string;
    status: 'success' | 'partial' | 'failed';
    at: string;
}
export interface GovernanceAuditEvent {
    type: 'governance_decision' | 'destructive_consent_required' | 'destructive_action_blocked' | 'prompt_injection_detected' | 'scope_violation' | 'executor_blocked';
    level: 'info' | 'warning' | 'critical';
    summary: string;
    details?: string;
    at: string;
}
export interface ReviewFinding {
    approved: boolean;
    critique: string;
    nextAction: 'refine' | 'finish';
    score: number;
}
export type ServiceEvidenceType = 'provisioning' | 'integration' | 'e2e' | 'observability' | 'operation';
export interface ServiceEvidence {
    type: ServiceEvidenceType;
    status: 'passed' | 'failed' | 'partial';
    summary: string;
    artifactPath?: string;
    command?: string;
    at: string;
}
export interface ExecutionState {
    taskId: string;
    goal: string;
    userId: string;
    status: 'running' | 'completed' | 'failed';
    plan: string[];
    successCriteria: string[];
    attempts: ExecutionAttempt[];
    reviewFindings: ReviewFinding[];
    artifacts: string[];
    serviceEvidence?: ServiceEvidence[];
    governanceEvents: GovernanceAuditEvent[];
    finalAnswer?: string;
    createdAt: string;
    updatedAt: string;
}
export declare function createExecutionState(taskId: string, goal: string, userId: string): ExecutionState;
