export declare const ADOPTED_CONFIG_FILE = "proven-config.json"; export declare const ACTIVE_POLICY_FILE = "harness-active-policy.json"; export interface ActivePolicy { championId: string; provenanceTier: string; layer?: string; appliedAt: number; previous?: string | null; rolledBack?: boolean; params?: Record; } export interface ApplyResult { applied: boolean; from?: string | null; to?: string; reason?: string; } /** * Apply the adopted champion to the active harness policy. Idempotent (applying * the same champion is a no-op), reversible (records the superseded champion), * best-effort. `now` is injectable for tests. */ export declare function applyChampion(cwd: string, opts?: { now?: number; }): ApplyResult; /** * Apply a champion directly by its config payload (local self-optimization, * ADR-176 flywheel). Unlike applyChampion (which reads a propagated, signed, * adopted record), this activates a LOCALLY-mined champion that just cleared the * install's own measured gate — no signing, because nothing is propagated. Still * reversible (records `previous`) and idempotent. Consumers read `params`. */ export declare function applyChampionParams(cwd: string, opts: { championId: string; params?: Record; layer?: string; previous?: string | null; now?: number; }): ApplyResult; /** * Reverse the last apply: point the active policy back at its `previous` * champion (reversibility, ADR-177 rollback pointer). No-op if there is no * previous. The previous champion's policy is fetched by ref by consumers. */ export declare function rollbackActivePolicy(cwd: string, opts?: { now?: number; }): ApplyResult; /** The champion routing/agents should currently use, or null. */ export declare function activeChampion(cwd: string): ActivePolicy | null; //# sourceMappingURL=harness-feedback-applier.d.ts.map