import { type ContextInputRef, type ContextInputValue } from "@choiceform/design-system";
interface UseInputStateOptions {
    onChange?: (value: ContextInputValue) => void;
    onSendMessage?: () => void;
    value?: ContextInputValue;
}
export declare function useInputState(options: UseInputStateOptions): {
    readonly inputValue: ContextInputValue;
    readonly contextInputRef: import("react").RefObject<ContextInputRef>;
    readonly isComposing: boolean;
    readonly setInputValue: (value: ContextInputValue) => void;
    readonly clearInput: () => void;
    readonly focusInput: () => void;
    readonly handleKeyDown: (e: import("react").KeyboardEvent<Element>) => void;
    readonly handleInputChange: (newValue: ContextInputValue) => void;
    readonly handleCompositionStart: () => void;
    readonly handleCompositionEnd: () => void;
};
export {};
