import type { LoadedRepoIntelligenceArtifacts } from "./repo-intelligence.js";
export interface ReviewPackState {
    artifactType: "kiwi-control/review-pack";
    version: 1;
    generatedAt: string;
    summary: string;
    source: "working-tree" | "git-base";
    baseRef: string | null;
    task: string | null;
    changedFiles: string[];
    rankedFiles: Array<{
        file: string;
        moduleGroup: string;
        score: number;
        reasons: string[];
        touches: number;
        failures: number;
    }>;
    rankedModules: Array<{
        id: string;
        score: number;
        reasons: string[];
        files: string[];
    }>;
    impactChains: Array<{
        file: string;
        chain: string[];
    }>;
    repeatedTouchAreas: Array<{
        kind: "file" | "module";
        target: string;
        touches: number;
        commits: number;
    }>;
    failureLinkedAreas: Array<{
        kind: "file" | "module";
        target: string;
        reasons: string[];
    }>;
    likelyMissingValidation: string[];
    reviewOrder: Array<{
        kind: "file" | "module" | "decision";
        target: string;
        reason: string;
    }>;
    reviewerHandoff: {
        summary: string;
        readFirst: string[];
    };
    codingToolHandoff: {
        summary: string;
        readFirst: string[];
    };
}
export declare function resolveReviewChangedFiles(targetRoot: string, baseRef?: string): Promise<{
    source: ReviewPackState["source"];
    changedFiles: string[];
}>;
export declare function buildReviewPack(options: {
    targetRoot: string;
    artifacts: LoadedRepoIntelligenceArtifacts;
    changedFiles: string[];
    source: ReviewPackState["source"];
    baseRef?: string | null;
    task?: string | null;
}): ReviewPackState;
export declare function persistReviewPack(targetRoot: string, reviewPack: ReviewPackState): Promise<string>;
//# sourceMappingURL=review-pack.d.ts.map