import { DetailedTraceEntry } from '@kb-labs/agent-contracts';

type NormalizedTraceEvent = {
    raw: DetailedTraceEntry;
    type: string;
    data: Record<string, unknown>;
    iteration: number;
};
declare function normalizeTraceEvents(events: DetailedTraceEntry[]): NormalizedTraceEvent[];
declare function getEventData(event: DetailedTraceEntry): Record<string, unknown>;
declare function asNumber(value: unknown): number | undefined;

export { type NormalizedTraceEvent, asNumber, getEventData, normalizeTraceEvents };
