import { FormControlState, UseNumberInputRootSlotProps, UseNumberInputInputSlotProps, UseNumberInputIncrementButtonSlotProps, UseNumberInputDecrementButtonSlotProps } from '@mui/base';
import { UseNumberInputParameters } from './types';
/**
 * Funcion asegura que el valor pasado sea procesado como una cadena limpia
 * (sin espacios innecesarios) y devuelve siempre una representación de texto
 */
export declare function getInputValueAsString(v: string): string;
/**
 * hook para el manejo de los eventos del componente NumberInput
 */
export declare const useNumberInput: (parameters: UseNumberInputParameters) => {
    disabled: boolean;
    error: boolean;
    focused: boolean;
    formControlContext: FormControlState | undefined;
    getInputProps: <ExternalProps extends Record<string, unknown> = {}>(externalProps?: ExternalProps) => UseNumberInputInputSlotProps<ExternalProps>;
    getIncrementButtonProps: <ExternalProps extends Record<string, unknown> = {}>(externalProps?: ExternalProps) => UseNumberInputIncrementButtonSlotProps<ExternalProps>;
    getDecrementButtonProps: <ExternalProps extends Record<string, unknown> = {}>(externalProps?: ExternalProps) => UseNumberInputDecrementButtonSlotProps<ExternalProps>;
    getRootProps: <ExternalProps extends Record<string, unknown> = {}>(externalProps?: ExternalProps) => UseNumberInputRootSlotProps<ExternalProps>;
    required: boolean;
    value: number | null;
    inputValue: string;
    isIncrementDisabled: boolean;
    isDecrementDisabled: boolean;
    focusError: boolean;
};
//# sourceMappingURL=useNumberInput.d.ts.map