import type { FactoryEvent } from "@you-agent-factory/client"; import type { FactoryEmulatorNormalizedRelation } from "./session-contracts.js"; export interface FactoryEmulatorReplayedWork { readonly submissionId: string; readonly workId: string; readonly requestId?: string; readonly traceId?: string; readonly workType?: string; readonly state?: string; readonly input?: unknown; readonly relations?: readonly FactoryEmulatorNormalizedRelation[]; } /** Reapply canonical submission events into detached Work and relationship state. */ export declare function replayFactoryEmulatorSubmissions(events: readonly FactoryEvent[]): readonly FactoryEmulatorReplayedWork[];