import * as React from 'react'; import type { TextInputKeyPressEvent } from 'react-native'; import { TextInput as RNTextInput } from 'react-native'; import type { IconNameType } from '../../assets'; import type { ContextNameMenuRef } from '../types'; import type { EmojiIconItem } from '../types'; import type { VoiceBarState } from '../VoiceBar'; import type { MessageInputEditMessageRef } from './MessageInputEditMessage'; import type { MessageInputProps, MessageInputRef, MessageInputState, SendVoiceProps } from './types'; export declare function useMessageInput(props: MessageInputProps, ref?: React.ForwardedRef): { value: string; setValue: (text: string, op?: "add_face" | "del_face" | "del_c", face?: string) => void; onClickedFaceListItem: (face: string) => void; onClickedDelButton: () => void; onClickedClearButton: () => void; onClickedEmojiButton: () => void; onClickedVoiceButton: () => void; inputRef: React.RefObject; emojiHeight: number; emojiIconName: IconNameType; onFocus: () => void; onBlur: () => void; inputBarState: MessageInputState; changeInputBarState: (nextState: MessageInputState) => void; voiceBarRef: React.RefObject; onCloseVoiceBar: () => void; onVoiceStateChange: (state: VoiceBarState) => void; onSelectSendVoice: (props: SendVoiceProps) => void; onRequestCloseMenu: () => void; menuRef: React.RefObject; sendIconName: IconNameType; onClickedSend: () => void; onVoiceFailed: (error: { reason: string; error: any; }) => void; showQuote: boolean; onHideQuoteMessage: () => void; onRequestCloseEdit: () => void; editRef: React.RefObject; onEditMessageFinished: (msgId: string, text: string) => void; quoteMsg: import("react-native-chat-sdk").ChatMessage | undefined; onClickedEmojiSend: () => void; emojiList: EmojiIconItem[] | undefined; multiSelectVisible: boolean; onClickedMultiSelectDeleteButton: () => void; onClickedMultiSelectShareButton: () => void; onKeyPress: (e: TextInputKeyPressEvent) => void; msgPinBackgroundCurrentOpacity: import("react-native").Animated.Value; msgPinHeightRef: React.RefObject; MessageInputBarMenu: React.FunctionComponent | null; messageInputBarStyle: import("../..").MessageInputBarExtensionStyle | undefined; androidKeyboardAvoidOffset: number; }; //# sourceMappingURL=MessageInput.hooks.d.ts.map