export interface UseDeferredErrorResult { /** The message to render (undefined while the reveal is deferred or the field is valid). */ error: string | undefined; /** Attach to the field's onBlur — reveals validation immediately and keeps it live from then on. */ onBlur: () => void; } /** * Defers showing a field validation message while the user is still typing. * * The message is revealed when the field loses focus (touched) or when the * value hasn't changed for `delay` ms; every keystroke restarts the timer. * Once touched, validation stays live. A message that clears (the value became * valid) disappears immediately. */ export declare function useDeferredError(error: string | undefined, value: string, delay?: number): UseDeferredErrorResult; //# sourceMappingURL=use-deferred-error.d.ts.map