import type { ConfigurationInspection } from './types.js'; /** Host-observed evidence, never a claim inferred solely from a changed manifest. */ export interface ConfigurationReviewSignal { kind: 'watched-output' | 'resource-pressure'; scope: string; /** Stable identity of the discrepancy/action, independent of HEAD and metadata hashes. */ action: string; observed: boolean; material: boolean; actionable: boolean; explicitChoice: boolean; /** Resource pressure must name an operator-measured baseline and sustained window. */ baseline?: string; persistent?: boolean; recovered?: boolean; } export interface ConfigurationReviewState { version: 1; root: string; evidenceRevision: string; lastSurveyAt?: number; lastMetadataRevision?: string; evidence?: Array<{ path: string; revision: string; }>; conditions: Record; } export interface ConfigurationReviewResult { state: ConfigurationReviewState; notice?: { id: string; conditions: Array<{ id: string; scope: string; action: string; }>; message: string; }; diagnostics: string[]; } /** Pure notification gate. The host persists this private state under a worktree-scoped lock. */ export declare function reviewConfiguration(inspection: ConfigurationInspection, signals: readonly ConfigurationReviewSignal[], options: { previous?: ConfigurationReviewState; mode?: 'manual' | 'notify'; idle: boolean; operationActive: boolean; deliveryClaimed: boolean; now?: number; }): ConfigurationReviewResult; export declare function dismissConfigurationReview(state: ConfigurationReviewState, id: string, snoozedUntil?: number): ConfigurationReviewState; //# sourceMappingURL=review.d.ts.map