import { type TaskEvidence } from './completion-gate.js';
/** Per-check output kept on the task row (and so in the packet). */
export declare const EVIDENCE_OUTPUT_CAP = 4000;
/** The diff's share of a packet; past this the reviewer is told how to get it all. */
export declare const DIFF_CAP = 60000;
/** Keep the head and tail of `text`, marking what was cut — failures tend to
* sit at the end of a log, context at the start. */
export declare function capText(text: string, max: number): string;
export type ReviewDiff = {
ok: true;
text: string;
} | {
ok: false;
reason: string;
};
/** `git diff ...` in `cwd`, computed by the runtime. */
export declare function reviewDiff(cwd: string, base: string, sha: string): ReviewDiff;
export interface ReviewPacketInput {
taskId: string;
/** The task's own text — the issue, as the org filed it. */
issue: string;
evidence: TaskEvidence;
diff: ReviewDiff;
/** Who the verdict goes to. */
replyTo: string;
base?: string;
}
export declare function buildReviewPacket(p: ReviewPacketInput): string;
//# sourceMappingURL=review-packet.d.ts.map