import { TFormName } from '../../../../../localTypes/form';
type TNullToggleButtonState = {
    visible: false;
} | {
    visible: true;
    isNull: boolean;
    handleSetNull: () => void;
    handleClear: () => void;
};
/**
 * Surfaces a "Set null / Clear null" control only for schema nodes marked `nullable: true`.
 * `null` is a distinct, persisted value (not the same as empty-and-omitted); consumers must
 * propagate it through the submit pipeline for nullable paths.
 */
export declare const useNullToggleButton: (formFieldName: TFormName, nullable?: boolean) => TNullToggleButtonState;
export {};
