/** * Custom hook to handle IME composition state for preventing IME race conditions when pressing enter to end composition. * * IME generates duplicate Enter events: * 1. First Enter: Ends composition (isComposing=true -> false) * 2. Second Enter: Triggers normal action (isComposing=false) * * This hook tracks composition lifecycle to prevent the second Enter during the brief window. */ export declare function useIMEComposition(elementRef: React.RefObject): { isComposing: () => boolean; };