import type { WorkflowExpression } from '../expression/workflow-expression.js'; import { type ContextPathSegment } from './extract-context-paths.js'; /** A known or conservatively unknown dependency on a prior event payload. */ export type HistoricalEventPayloadAccessKind = 'payload' | 'unknown'; export interface HistoricalEventPayloadAccess { readonly kind: HistoricalEventPayloadAccessKind; readonly root: 'executions'; readonly source: string; readonly segments?: readonly ContextPathSegment[]; readonly reason?: 'dynamic'; } export interface HistoricalEventPayloadAccessAnalysis { readonly accesses: readonly HistoricalEventPayloadAccess[]; } /** * Classifies references that can require payload bodies from prior executions. * * `execution.events` is the current execution contract and is intentionally not * selected here. The path extractor remains the authority for CEL traversal, * including indexed and comprehension-based access; this layer only assigns * the historical payload meaning to those exact paths. */ export declare function analyzeHistoricalEventPayloadAccess(expression: WorkflowExpression | string): HistoricalEventPayloadAccessAnalysis; //# sourceMappingURL=analyze-historical-event-payload-access.d.ts.map