import React from 'react'; import { CustomLabelProps, FlowNodeEntity, Xor, FlowNodeJSON, CollapseProps } from '@flowgram.ai/fixed-layout-editor'; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare function Ellipse(): React.JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare function TryCatchCollapse(props: CustomLabelProps): JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare function SlotCollapse({ node }: { node: FlowNodeEntity; }): React.JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ interface PropsType$2 { node: FlowNodeEntity; } declare function SlotAdder(props: PropsType$2): React.JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare function DraggingAdder(props: any): JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ type PropsType$1 = Xor<{ dragStart: FlowNodeEntity; }, { dragJSON: FlowNodeJSON; }> & { dragNodes: FlowNodeEntity[]; }; declare function DragNode(props: PropsType$1): JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare function DragHighlightAdder({ node }: { node: FlowNodeEntity; }): JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare function Collapse(props: CollapseProps): JSX.Element; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ interface PropsType { activated?: boolean; node: FlowNodeEntity; } declare function BranchAdder(props: PropsType): React.JSX.Element | null; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare function Adder(props: { from: FlowNodeEntity; to?: FlowNodeEntity; hoverActivated: boolean; }): React.JSX.Element | null; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare const defaultFixedSemiMaterials: { adder: typeof Adder; collapse: typeof Collapse; "try-catch-collapse": typeof TryCatchCollapse; "branch-adder": typeof BranchAdder; "drag-node": typeof DragNode; "draggable-adder": typeof DraggingAdder; "drag-highlight-adder": typeof DragHighlightAdder; "drag-branch-highlight-adder": typeof Ellipse; "slot-collapse": typeof SlotCollapse; "slot-adder": typeof SlotAdder; }; /** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ declare const PlaygroundTools: ({ layoutText }: { layoutText?: string; }) => React.JSX.Element; export { PlaygroundTools, defaultFixedSemiMaterials };