/**
 * Manifest validation - ported from lib/validation/manifest-validation.sh
 *
 * Validates subagent output by finding manifest entries, running protocol
 * validators on actual output, and logging real compliance metrics.
 *
 * @task T4526
 * @epic T4454
 */
export interface ManifestEntry {
    id: string;
    file: string;
    title: string;
    date: string;
    status: 'completed' | 'partial' | 'blocked';
    agent_type: string;
    topics?: string[];
    key_findings?: string[];
    actionable?: boolean;
    needs_followup?: string[];
    linked_tasks?: string[];
    [key: string]: unknown;
}
export interface ManifestViolation {
    requirement: string;
    severity: 'error' | 'warning';
    message: string;
    fix?: string;
}
export interface ManifestValidationResult {
    valid: boolean;
    score: number;
    pass: boolean;
    agent_type?: string;
    violations: ManifestViolation[];
    note?: string;
}
export interface ComplianceEntry {
    timestamp: string;
    source_id: string;
    source_type: string;
    compliance: {
        compliance_pass_rate: number;
        rule_adherence_score: number;
        violation_count: number;
        violation_severity: 'none' | 'warning' | 'error';
        manifest_integrity: 'valid' | 'violations_found';
    };
    efficiency: {
        input_tokens: number;
        output_tokens: number;
        context_utilization: number;
        token_utilization_rate: number;
    };
    _context: {
        agent_type: string;
        validation_score: number;
        violations: ManifestViolation[];
    };
}
/**
 * Find a manifest entry for a task ID in a JSONL file.
 * @task T4526
 */
export declare function findManifestEntry(taskId: string, manifestPath?: string): Promise<ManifestEntry | null>;
/**
 * Run validation on a manifest entry for a specific task.
 * @task T4526
 */
export declare function validateManifestEntry(taskId: string, manifestEntry?: ManifestEntry | null, manifestPath?: string): Promise<ManifestValidationResult>;
/**
 * Log validation results to the compliance JSONL file.
 * @task T4526
 */
export declare function logRealCompliance(taskId: string, validationResult: ManifestValidationResult, agentType?: string, compliancePath?: string): Promise<void>;
/**
 * Find, validate, and log compliance for a task in one call.
 * @task T4526
 */
export declare function validateAndLog(taskId: string, manifestPath?: string, compliancePath?: string): Promise<ManifestValidationResult>;
//# sourceMappingURL=manifest.d.ts.map