interface Pilot {
    id: string;
    status: 'active' | 'completed';
    service?: string;
    hypothesis?: string;
    metrics?: string[];
    successCriteria?: string[];
    workflows?: string[];
    outcome?: string | null;
    createdAt?: string;
    updatedAt?: string;
}
interface MissionEvaluation {
    mission: string;
    criteria: string[];
    score: number;
    verdict: 'ready_for_review' | 'needs_iteration';
    risks: string[];
    rationale?: string;
    source?: 'brain' | 'heuristic';
    createdAt: string;
    path: string;
}
interface LearningRecord {
    mission: string;
    feedback: string;
    suggestions: Array<{
        type: string;
        action: string;
        title: string;
        rationale: string;
    }>;
    createdAt: string;
}
export declare class InstitutionalContextStore {
    private root;
    constructor(root?: string);
    stateDir(): string;
    dir(): string;
    requiredFiles(): string[];
    init(name?: string): {
        ok: boolean;
        type: string;
        stateDir: string;
        dir: string;
        files: string[];
    };
    doctor(): {
        ok: boolean;
        type: string;
        stateDir: string;
        dir: string;
        summary: {
            requiredPresent: number;
            requiredTotal: number;
            missing: string[];
        };
    };
    summary(): {
        ok: boolean;
        type: string;
        stateDir: string;
        context: {
            requiredFiles: string[];
            doctor: {
                requiredPresent: number;
                requiredTotal: number;
                missing: string[];
            };
            name: string | null;
            version: number;
            updatedAt?: string;
            files?: string[];
        };
    };
}
export interface PluginManifest {
    id: string;
    name: string;
    capabilities: string[];
    governance: {
        riskLevel: string;
        permissionScope: string[];
        deniedCapabilities: string[];
    };
    source: string;
    status: 'installed' | 'disabled';
    version: number;
    createdAt: string;
    updatedAt: string;
}
export declare class PluginManifestStore {
    private root;
    constructor(root?: string);
    stateDir(): string;
    dir(): string;
    pathFor(id: string): string;
    riskTemplate(risk: string): {
        riskLevel: string;
        permissionScope: string[];
        deniedCapabilities: string[];
    };
    install(id: string, capabilities: string[], risk?: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        stateDir: string;
        plugin: PluginManifest;
    };
    list(): {
        ok: boolean;
        type: string;
        stateDir: string;
        plugins: (PluginManifest | null)[];
    };
    inspect(id: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        plugin: PluginManifest;
    };
    setStatus(id: string, status: 'installed' | 'disabled'): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        plugin: PluginManifest;
    };
}
export declare class PilotStore {
    private root;
    constructor(root?: string);
    stateDir(): string;
    dir(): string;
    pathFor(id: string): string;
    create(id: string, metric: string, service?: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        stateDir: string;
        pilot: {
            id: string;
            status: string;
            service: string;
            hypothesis: string;
            metrics: string[];
            successCriteria: string[];
            workflows: string[];
            outcome: string | null;
            createdAt: string;
            updatedAt: string;
        };
    };
    list(): {
        ok: boolean;
        type: string;
        stateDir: string;
        pilots: Pilot[];
    };
    report(id: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        pilot: Pilot;
        report: {
            id: string;
            status: "active" | "completed";
            service: string | undefined;
            successCriteria: string[];
            recommendation: string;
            generatedAt: string;
        };
    };
    complete(id: string, outcome?: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        pilot: Pilot;
    };
}
export declare class MissionEvaluationStore {
    private root;
    constructor(root?: string);
    stateDir(): string;
    dir(): string;
    pathFor(mission: string): string;
    judge(mission: string, criteriaCsv: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        stateDir: string;
        evaluation: {
            mission: string;
            criteria: string[];
            score: number;
            verdict: string;
            risks: string[];
            createdAt: string;
            path: string;
        };
    };
    report(mission: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        evaluation: MissionEvaluation;
    };
    list(): MissionEvaluation[];
}
export declare class LearningLoopStore {
    private root;
    constructor(root?: string);
    stateDir(): string;
    dir(): string;
    pathFor(mission: string): string;
    fromLastRun(mission: string, feedback: string): {
        detail?: {} | undefined;
        ok: boolean;
        error: string;
    } | {
        ok: boolean;
        type: string;
        stateDir: string;
        recordPath: string;
        suggestions: {
            type: string;
            action: string;
            title: string;
            rationale: string;
        }[];
    };
    list(): {
        ok: boolean;
        type: string;
        stateDir: string;
        records: LearningRecord[];
    };
}
export declare class EnterpriseDoctor {
    private root;
    constructor(root?: string);
    run(): {
        ok: boolean;
        type: string;
        stateDir: string;
        checks: {
            context: {
                ok: boolean;
                type: string;
                stateDir: string;
                dir: string;
                summary: {
                    requiredPresent: number;
                    requiredTotal: number;
                    missing: string[];
                };
            };
            plugins: {
                ok: boolean;
                count: number;
            };
            pilots: {
                ok: boolean;
                count: number;
            };
            evaluations: {
                ok: boolean;
                count: number;
            };
            learning: {
                ok: boolean;
                count: number;
            };
        };
    };
}
export {};
