import { FlowNode } from '../../type';
import { Props as ActionProps } from '../../node/actions';

interface MainRender<P> {
    node: FlowNode<P>;
}
interface Props<P> {
    showActions: ActionProps['showActions'];
    node: FlowNode<P>;
    isComplete?: boolean;
    defaultLabel?: string;
    icon?: React.ReactNode;
    MainRender?: ({ node }: MainRender<P>) => React.ReactNode;
    onAdd?: () => void;
    onDelete?: () => void;
    onChangeLabel?: (label: string) => void;
}
export default function FlowNodeRender<P>({ showActions, node, isComplete, defaultLabel, icon, MainRender, onAdd, onDelete, onChangeLabel }: Props<P>): import("react/jsx-runtime").JSX.Element;
export {};
