/** * `type` is the input type ('number' or 'integer'), and the options carry the current value and the * callback to handle value changes. Returns the props for the number input component. */ export declare function useNumberProps(type: 'number' | 'integer', { value, onChange, }: { value: number | string | null | undefined; onChange: (value: string | number | undefined) => void; }): { value: string | number; allowDecimal: boolean; hideControls: boolean; onChange: (value: string | number) => void; };