import { Node } from 'reactflow';
import { NodeData } from '../types';
export declare function useNodeState(node: Node<NodeData>, onNodeUpdate: (node: Node) => void): {
    nodeData: {
        label: string;
        description: any;
        config: Record<string, any>;
        position: import('reactflow').XYPosition;
    };
    updateField: (path: string, value: any) => void;
    updateConfig: (configPath: string, value: any) => void;
    clearState: () => void;
};
//# sourceMappingURL=useNodeState.d.ts.map