import type { WorkflowCallInvocationRecord, WorkflowCallStep, WorkflowConfig, WorkflowResumePoint, WorkflowResumePointEntry } from '../models/types.js'; export declare function buildWorkflowCallInvocationIdentity(workflowReference: string, stepName: string, workflowCallPath: readonly WorkflowResumePointEntry[]): string; export declare class WorkflowCallInvocationIndex { private readonly records; private readonly restoredRecords; constructor(initial: ReadonlyMap); private assertNamespaceAvailable; record(workflow: WorkflowConfig, stepName: string, workflowCallPath: readonly WorkflowResumePointEntry[], record: WorkflowCallInvocationRecord): void; replace(workflow: WorkflowConfig, stepName: string, workflowCallPath: readonly WorkflowResumePointEntry[], record: WorkflowCallInvocationRecord): void; get(workflow: WorkflowConfig, stepName: string, workflowCallPath: readonly WorkflowResumePointEntry[]): WorkflowCallInvocationRecord | undefined; getSelectedRestartCallInstance(source: WorkflowResumePoint | undefined, workflow: WorkflowConfig, stepName: string, path: readonly WorkflowResumePointEntry[]): number | undefined; private findSelectedRestartRecord; rebindResumeInvocation(source: WorkflowResumePoint | undefined, workflow: WorkflowConfig, stepName: string, path: readonly WorkflowResumePointEntry[], occurrence: number, selectedRestart: boolean): { from: string; to: string; previousCallInstance: number; callInstance: number; } | undefined; rebindResumeInvocationsForReportDiscovery(source: WorkflowResumePoint | undefined, workflow: WorkflowConfig, path: readonly WorkflowResumePointEntry[], resolveWorkflowCall: (step: WorkflowCallStep) => WorkflowConfig | null): Array<{ from: string; to: string; previousCallInstance: number; callInstance: number; }>; private moveInvocationAndDescendants; clearPreviousParallelChildInvocations(workflow: WorkflowConfig, parentStepName: string, childStepNames: readonly string[], workflowCallPath: readonly WorkflowResumePointEntry[], currentParentOccurrence: number): void; snapshot(): ReadonlyMap; serialized(): Record; validateResumePoint(resumePoint: WorkflowResumePoint | undefined): void; } export interface WorkflowCallInvocationEvidence { readonly kind: 'exact'; readonly index: WorkflowCallInvocationIndex; } export interface WorkflowCallInvocationEvidenceSnapshot { readonly kind: WorkflowCallInvocationEvidence['kind']; readonly records: ReadonlyMap; } export declare function restoreWorkflowCallInvocationEvidence(resumePoint: WorkflowResumePoint | undefined): WorkflowCallInvocationEvidence; export declare function snapshotWorkflowCallInvocationEvidence(evidence: WorkflowCallInvocationEvidence): WorkflowCallInvocationEvidenceSnapshot; export declare function serializeWorkflowCallInvocationEvidence(evidence: WorkflowCallInvocationEvidence): Record; //# sourceMappingURL=workflow-call-invocation-index.d.ts.map