import type { Dispatch } from 'react'; import { type FormFieldMessagesReducerAction } from '../../forms-core/state/formfield-messages-state-reducer.js'; /** * Sanitizes a numeric step value, returning 1 if the value is undefined, NaN, zero, or negative. * @internal */ export declare function sanitizePositiveNumber(value: number | undefined): number; /** * Checks if the given value is aligned with the specified step and minimum value. * @internal */ export declare function isStepAligned(value: number, step: number, min?: number): boolean; /** * Adds an error message to the form field messages state. * @internal */ export declare function addError(errorType: keyof ValidityState, errorId: string, ref: HTMLInputElement | HTMLSelectElement | null | undefined, dispatch: Dispatch | undefined): void; /** * Determines the appropriate error key based on the provided value and validation constraints (min, max, step). * @internal */ export declare function getErrorKey(value: string | number, min?: number, max?: number, step?: number): keyof ValidityState | null;