import { type BudgetConfig } from '../metrics/context-budget.js'; import { type ContextPruningCandidate, type ContextProtectedClassification, type ContextPruningDecisionEvidence, type ContextPruningPolicy, type ContextPruningReceipt, type ContextPruningRun, type ContextPruningQuestion, type ContextPruningEvaluationJob, type ContextPruningEvaluationPlan, type ContextBudgetManagerBaseline } from './context-pruning-types.js'; export declare function classifyContextPruningCandidate(candidate: ContextPruningCandidate): ContextProtectedClassification; export declare function classifyContextPruningCandidates(candidates: readonly ContextPruningCandidate[]): Map; export declare function planContextPruningEvaluations(candidates: readonly ContextPruningCandidate[], questions: readonly ContextPruningQuestion[]): ContextPruningEvaluationJob[]; export declare function planContextPruningEvaluationRun(candidates: readonly ContextPruningCandidate[], questions: readonly ContextPruningQuestion[]): ContextPruningEvaluationPlan; export interface ApplyContextPruningInput { candidates: readonly ContextPruningCandidate[]; policy: ContextPruningPolicy; evidence?: readonly ContextPruningDecisionEvidence[]; now?: () => string; monitoringRegression?: boolean; /** * When set, the existing deterministic ContextBudgetManager selection under this budget is the prior * deterministic fallback, and every candidate must carry its host-owned content. When absent, the prior * behavior is "no pruning", so the fallback proposal is keep. */ budget?: Partial; /** The frozen evaluation pair this run serves; recorded on the run and every receipt. */ pairId?: string; } export declare function applyContextPruningPilot(input: ApplyContextPruningInput): ContextPruningRun; /** * Validates a receipt's shape and self-digest. When the run's candidate envelopes are supplied, it also * re-derives the run identity and the protected-item classification and refuses any mismatch, so a * relabelled receipt with a recomputed digest, or a receipt from another run, is rejected. */ export declare function validateContextPruningReceipt(receipt: ContextPruningReceipt, candidates?: readonly ContextPruningCandidate[]): ContextPruningReceipt; export declare function computeContextBudgetManagerBaseline(candidates: readonly ContextPruningCandidate[], config?: Partial): ContextBudgetManagerBaseline; export declare function uniqueCandidates(candidates: readonly ContextPruningCandidate[]): Map; //# sourceMappingURL=context-pruning-pilot.d.ts.map