import type { Language } from '../models/types.js'; export interface PullRequestContext { readonly source: 'pr_review'; readonly prNumber: number; readonly baseBranch: string; readonly headBranch: string; readonly baseBranchSource: 'pull_request' | 'default_branch_fallback'; readonly baseDiffRef?: string; readonly headDiffRef?: string; } export interface PersistedPullRequestContext { readonly source: 'pr_review'; readonly pr_number: number; readonly base_branch: string; readonly head_branch: string; readonly base_branch_source: PullRequestContext['baseBranchSource']; readonly base_diff_ref?: string; readonly head_diff_ref?: string; } export declare function createPullRequestContext(input: PullRequestContext): PullRequestContext; export declare function encodePullRequestContext(context: PullRequestContext): PersistedPullRequestContext; export declare function decodePullRequestContext(value: unknown): PullRequestContext; export declare function renderPullRequestContext(context: PullRequestContext, language: Language): string; //# sourceMappingURL=pr-context.d.ts.map