import type { WorkflowTemplateSegment } from '../template/template-segment.js'; import { type WorkflowInterpolationFailurePolicy, type WorkflowInterpolationField } from '../workflow-context/workflow-context.js'; import type { ResolvedField } from './resolved-field.js'; export type PlanViolation = { readonly reason: 'runner-root-not-bare' | 'computed-context-key'; readonly source: string; readonly runnerRoots?: readonly string[]; readonly contextRoots?: readonly string[]; readonly hint: string; }; export interface FieldPlan { readonly field: ResolvedField; readonly failurePolicy: WorkflowInterpolationFailurePolicy; } export type FieldPlanResult = { readonly ok: true; readonly plan: FieldPlan; } | { readonly ok: false; readonly violations: readonly PlanViolation[]; }; export declare function planInterpolationField(params: { readonly field: WorkflowInterpolationField; readonly segments: readonly WorkflowTemplateSegment[]; }): FieldPlanResult; //# sourceMappingURL=plan-field.d.ts.map