import type { ElementTarget } from "../use-target-element/index.cjs"; export interface UseInputCompositionState { /** * Whether the input is in the composition state. */ isComposing: boolean; /** * The composition data. */ data: string; } export interface UseInputCompositionReturns extends UseInputCompositionState { } /** * A hook to get the composition state of an input element. * * @since 1.4.0 */ export declare function useInputComposition(target: ElementTarget): UseInputCompositionReturns;