import { type ReactNode } from 'react'; import type { WorkflowNodeConfigurations, WorkflowNodeConfigurationReceipt } from 'openxiangda-contracts/browser'; export interface RetainedWorkflowNodeInput { nodeId: string; values: Record; } type Node = WorkflowNodeConfigurations['nodes'][number]; /** Shared editor: platform console and application pages use the same bounded SDK write. */ export declare function WorkflowNodeConfigurationEditor({ workflowCode, node: initialNode, principals: initialPrincipals, expectedHeadRevision, onClose, onSaved, presentation, readOnly, onStateChange, onLeaveGuardChange, returnSummary, compact, onExpand, onAuthorityLoss, conditionalAssignment: initialConditionalContext }: { conditionalAssignment?: WorkflowNodeConfigurations['conditionalAssignment']; onAuthorityLoss?: (failure: unknown, operationId?: string, prompt?: string, nodeInput?: RetainedWorkflowNodeInput) => Promise; workflowCode: string; node: Node; principals: WorkflowNodeConfigurations['principals']; expectedHeadRevision: number; onClose: () => void; onSaved: (receipt: WorkflowNodeConfigurationReceipt) => void; presentation?: 'drawer' | 'panel' | 'inline'; readOnly?: boolean; returnSummary?: ReactNode; compact?: boolean; onExpand?: () => void; onStateChange?: (state: { dirty: boolean; busy: boolean; unknown: boolean; }) => void; onLeaveGuardChange?: (guard: ((next: () => void) => void) | undefined) => void; }): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=WorkflowNodeConfigurationEditor.d.ts.map