import { type SkillDefinition } from './definition.js'; export interface ReplayInput { definition: SkillDefinition; inputs: Readonly>; files: readonly { path: string; content: string; }[]; artifactPath: string; stateRoot: string; maxToolCalls: number; maxBytes: number; signal: AbortSignal; authorize: () => void; } export type ReplayStep = { id: string; toolName: 'read' | 'write' | 'edit'; outcome: 'executed'; resultDigest: string; } | { id: string; toolName: 'glob' | 'grep' | 'get_goal'; outcome: 'omitted-observation'; observation: 'provenance-only'; }; export interface ReplayResult { artifact: string; toolCalls: number; executedToolCalls: number; omittedObservations: number; steps: readonly ReplayStep[]; quiescent: true; } /** Validate the fixed captured trace without granting its observations executable authority. */ export declare function validateReplayTrace(definition: SkillDefinition, maxToolCalls: number, maxBytes: number): readonly ReplayStep[]; export declare function replaySkill(input: ReplayInput): Promise; //# sourceMappingURL=replay.d.ts.map