/**
 * Orchestrate Workflow Pattern
 * Intent Gate → Assessment → Delegation → Verification
 */
export type CodebaseMaturity = 'disciplined' | 'transitional' | 'legacy' | 'greenfield';
export interface IntentGateResult {
    hasMatchingSkill: boolean;
    skillName?: string;
    shouldDelegate: boolean;
    reason: string;
}
export interface CodebaseAssessment {
    maturity: CodebaseMaturity;
    patterns: string[];
    techStack: string[];
    testCoverage: 'high' | 'medium' | 'low' | 'none';
    documentationLevel: 'comprehensive' | 'partial' | 'minimal' | 'none';
    risks: string[];
}
export interface DelegationPlan {
    phases: DelegationPhase[];
    totalAgents: number;
    estimatedComplexity: 'low' | 'medium' | 'high';
    requiredVerifications: string[];
}
export interface DelegationPhase {
    name: string;
    agents: AgentTask[];
    dependencies: string[];
    verificationCriteria: string[];
}
export interface AgentTask {
    agentType: string;
    model: 'haiku' | 'sonnet' | 'opus';
    prompt: string;
    background: boolean;
    timeout?: number;
}
export interface VerificationResult {
    passed: boolean;
    evidence: Evidence[];
    issues: string[];
    architectReview?: string;
}
export interface Evidence {
    type: 'build' | 'test' | 'lint' | 'typecheck' | 'manual';
    command?: string;
    exitCode?: number;
    output?: string;
    passed: boolean;
}
/**
 * Phase 0: Intent Gate
 * Check if there's a matching skill BEFORE doing any work
 */
export declare function checkIntentGate(prompt: string): IntentGateResult;
/**
 * Phase 1: Codebase Assessment
 * Classify codebase maturity and characteristics
 */
export declare function assessCodebase(signals: {
    hasTests: boolean;
    hasLinting: boolean;
    hasTypescript: boolean;
    hasCICD: boolean;
    hasDocumentation: boolean;
    fileCount: number;
    techStack: string[];
}): CodebaseAssessment;
/**
 * Phase 2: Create Delegation Plan
 * Plan how to delegate work to sub-agents
 */
export declare function createDelegationPlan(task: string, assessment: CodebaseAssessment, phaseCount?: number): DelegationPlan;
/**
 * Phase 3: Verification with Evidence
 * Collect evidence of completion
 */
export declare function createVerificationChecklist(plan: DelegationPlan): Evidence[];
/**
 * Format orchestration status
 */
export declare function formatOrchestrationStatus(phase: string, assessment: CodebaseAssessment, plan: DelegationPlan): string;
/**
 * Background task rules
 */
export declare function shouldRunInBackground(command: string): boolean;
//# sourceMappingURL=OrchestrateWorkflow.d.ts.map