import type { CheckRunSummary, PullRequestDetail } from '@generacy-ai/cockpit'; export declare const DIFF_BYTE_CAP: number; export interface ReviewContextPayload { pr: { number: number; title: string; url: string; base: string; head: string; body: string; author: string | null; state: 'OPEN' | 'CLOSED' | 'MERGED'; draft: boolean; }; diff: string; diffTruncated: boolean; checks: Array<{ name: string; state: 'SUCCESS' | 'FAILURE' | 'PENDING' | 'NEUTRAL' | 'SKIPPED' | 'CANCELLED'; url?: string; }>; } export interface BuildReviewContextInput { pr: PullRequestDetail; checks: CheckRunSummary[]; } export declare function buildReviewContextPayload(input: BuildReviewContextInput): ReviewContextPayload; export declare function serializeReviewContextJson(payload: ReviewContextPayload): string; //# sourceMappingURL=review-context-json.d.ts.map