import type { ExecResult, ToolCallInfo, TurnInfo } from '../types/index.js'; /** * Validate the source-neutral executor result contract at process/cache * boundaries. Provider payloads and custom executors are untrusted input; a * malformed metric must fail the sample instead of entering a report. */ export declare function executorResultValidationError(value: unknown): string | undefined; export declare function parseExecResult(value: unknown): ExecResult | null; /** * Canonicalize every execution trace after structural validation. This keeps * programmatic/custom executors and restored caches in the same comparison * namespace as built-in provider adapters. */ export declare function normalizeExecResultToolIdentities(result: ExecResult): ExecResult; export declare function isValidTurnInfo(value: unknown): value is TurnInfo; export declare function isValidToolCallInfo(value: unknown): value is ToolCallInfo; export declare function isValidMockStats(value: unknown): boolean;