import { type QualityGateResult } from './quality-gate.js'; export interface PreflightResult { git: boolean; staged: number; unstaged: number; untracked: number; whitespacePassed: boolean | null; whitespaceOutput?: string; quality: QualityGateResult; } /** A single source of truth for whether the deterministic shipping gate is satisfied. */ export declare function isPreflightReady(result: PreflightResult): boolean; /** * Deterministic evidence before a commit or review. * * This is intentionally not a "clean tree" test: a coding session is normally *meant* to have * changes. It instead says what is present, catches malformed patches, and runs the project's * own verification commands. A model review remains a complementary judgment, not a substitute. */ export declare function runPreflight(cwd: string): Promise; /** The last lines contain the actionable compiler/test failure; cap them so a panel stays usable. */ export declare function diagnosticTail(output: string | undefined, maxLines?: number, maxChars?: number): string | undefined; export declare function preflightReport(result: PreflightResult): string; //# sourceMappingURL=preflight.d.ts.map