import { type FormFieldMessagesReducerAction } from '../../forms-core/state/formfield-messages-state-reducer.js'; import type { NativeValidityStateKeys } from '../../validation/types.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; /** * 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 typeof NativeValidityStateKeys | null; /** @internal */ export declare function addError(errorKey: keyof typeof NativeValidityStateKeys, id: string, input: HTMLInputElement | HTMLSelectElement | null | undefined, dispatch: ((action: FormFieldMessagesReducerAction) => void) | undefined, forceCustomValidity?: boolean): void; //# sourceMappingURL=validation.d.ts.map