import React from 'react'; import { type FormatterHelpers } from '@desource/phone-mask/kit'; export interface UseInputHandlersOptions { formatter: FormatterHelpers; digits: string; inactive?: boolean; onChange?: (newDigits: string) => void; scheduleValidationHint?: (delay: number) => void; } export interface UseInputHandlersReturn { handleBeforeInput: (e: React.SyntheticEvent | InputEvent) => void; handleInput: (e: React.SyntheticEvent | Event) => void; handleKeydown: (e: React.KeyboardEvent | KeyboardEvent) => void; handlePaste: (e: React.ClipboardEvent | ClipboardEvent) => void; } /** * React hook that provides event handlers for phone input masking. * Handlers are compatible with both native events and React synthetic events. */ export declare function useInputHandlers(options: UseInputHandlersOptions): UseInputHandlersReturn; //# sourceMappingURL=useInputHandlers.d.ts.map