import type { EventEnvelope } from "../statelog/wireTypes.js"; import type { EvalRecord } from "./types.js"; export type ExtractOptions = { /** Max characters for tool argsPreview / outputPreview. Default 200. * Pass 0 for "no truncation". */ previewChars?: number; /** Emit the "no evalValue()" warning when `evalValue()` was not called. Default true. * The optimizer sets this false: inputs come from the input spec, not evalValue(). */ warnMissingValue?: boolean; }; /** Top-level extractor. Composes pure helpers over the Normalized * form produced by `normalize()`; no shared mutable state, no * threading of `t0` through helpers, no direct wire-format reads * outside the accessor layer. */ export declare function extractEvalRecord(events: EventEnvelope[], source: string, opts?: ExtractOptions): EvalRecord;