import type { Config } from '../config/schema'; import type { EventBus } from '../events/bus'; import type { EmitContext } from '../events/emit'; import type { StateStore } from '../state/store'; export type Severity = 'blocker' | 'warn' | 'info'; export type GateFinding = { id: string; severity: Severity; title: string; details?: string; file?: string; suggestion?: string; }; export type LocalGateReport = { ok: boolean; findings: GateFinding[]; stats: { filesChanged: number; linesAdded: number; linesDeleted: number; hasLockfileChanges: boolean; hasDependencyChanges: boolean; hasMigrationLikeChanges: boolean; }; generatedAt: string; }; export declare function generateLocalGateReport(options: { repoRoot: string; baseBranch: string; branchName: string; worktreePath?: string; config: Config; state?: StateStore; runId?: string; bus?: EventBus; context: EmitContext; }): Promise; export declare function formatLocalGateSummary(report: LocalGateReport): string;