import type { PreflightContext, SkillPreflight } from './types.js'; export declare function parsePrRef(rawArgs: string): string | null; interface PrMetadata { title?: string; baseRefName?: string; headRefName?: string; additions?: number; deletions?: number; changedFiles?: number; files?: Array<{ path?: string; additions?: number; deletions?: number; }>; } interface GatheredState { pr: string; metadata: PrMetadata | null; diffPath: string | null; diffLineCount: number | null; dirty: boolean; dirtyFiles: number; } export declare function gatherPrState(pr: string, ctx: PreflightContext, deps?: { exec?: (cmd: string, args: string[], opts?: { cwd?: string; }) => Promise; writeFile?: (path: string, content: string) => void | string; }): Promise; export declare function renderManifest(state: GatheredState): string; export declare const reviewPrPreflight: SkillPreflight; export declare function _resetConcurrencyGuardForTests(): void; export declare function _setConcurrencyGuardForTests(value: boolean): void; export {};