import type { ExecutionContext } from './execution-context.types.js'; export interface ExecutionContextBudget { maxAssertions: number; maxKnowledge: number; maxChars: number; } export interface ExecutionContextAudit { runId: string; principalId: string; turnId: string; sessionId: string; queryHash: string; asOf: number; budget: ExecutionContextBudget; metrics: Record; items: Array<{ objectType: 'rule' | 'assertion' | 'goal' | 'priority' | 'knowledge'; objectId: string; score?: number; reasons: string[]; included: boolean; }>; createdAt: number; } export declare function recordExecutionContext(context: ExecutionContext, input: { turnId: string; sessionId: string; budget: ExecutionContextBudget; renderedChars: number; includedContext?: ExecutionContext; }): void; export declare function getExecutionContextAudit(turnId: string): ExecutionContextAudit | undefined; export declare function recordExecutionContextFeedback(input: { turnId: string; rating: 'helpful' | 'irrelevant'; reason?: string; }): boolean; export declare function getExecutionContextFeedbackScores(): Map;