import { type WorkflowGraphVariable, type WorkflowExpression, type WorkflowGraphProjection } from 'openxiangda-contracts/browser'; /** Display metadata only: values remain the application's original typed facts. */ export type WorkflowVariableChoice = { label: string; value: string | number | boolean; }; export type WorkflowVariableChoices = Readonly>; export type WorkflowConditionVariable = WorkflowGraphVariable & { choices?: readonly WorkflowVariableChoice[]; }; export declare function workflowVariablesWithChoices(variables: readonly WorkflowGraphVariable[], supplied?: WorkflowVariableChoices): WorkflowConditionVariable[]; /** Presentation-only projection shared by editor, read-only diagram and AI preview. */ export declare function workflowGraphWithChoices(graph: WorkflowGraphProjection, supplied?: WorkflowVariableChoices): WorkflowGraphProjection; export declare function workflowChoiceLabel(value: unknown, variable?: WorkflowConditionVariable): string | undefined; /** Exact known literals get names; unknown values are never guessed or changed. */ export declare function formatWorkflowCondition(expression: WorkflowExpression, variables: readonly WorkflowConditionVariable[], depth?: number): string; //# sourceMappingURL=workflow-variable-presentation.d.ts.map