import { ElementProps, FloatingContext } from '@floating-ui/react'; export interface UseTypingProps { enabled?: boolean; event?: 'keyboard' | 'input' | 'change'; } /** * Opens the floating element when the user types on the reference element. By default, it listens for keyboard events and opens when the user types a character key or uses Backspace/Delete. You can also configure it to listen for 'input' or 'change' events instead. */ export declare const useTyping: (context: FloatingContext, { enabled, event }?: UseTypingProps) => ElementProps; export default useTyping;