import type { ConfigurableNode, NodeConfigSchema } from '../NodePropertiesPanel.types';
export declare function useNodeConfiguration(selectedNode: ConfigurableNode | undefined, customSchemas?: Record<string, NodeConfigSchema>, enableValidation?: boolean, onChange?: (nodeId: string, fieldKey: string, value: unknown) => void): {
    schema: NodeConfigSchema | null | undefined;
    errors: Record<string, string>;
    setErrors: import("react").Dispatch<import("react").SetStateAction<Record<string, string>>>;
    handleFieldChange: (fieldKey: string, value: unknown) => void;
};
//# sourceMappingURL=useNodeConfiguration.d.ts.map