///
import type { NativeSyntheticEvent, TextInput, TextInputSelectionChangeEventData } from 'react-native';
import { SendbirdFileMessage, SendbirdUserMessage } from '@gathertown/uikit-utils';
import type { MentionedUser } from '../types';
declare const useMentionTextInput: (params: {
messageToEdit?: SendbirdUserMessage | SendbirdFileMessage;
}) => {
textInputRef: import("react").MutableRefObject;
selection: {
start: number;
end: number;
};
onSelectionChange: (e: NativeSyntheticEvent) => void;
text: string;
onChangeText: (_nextText: string, addedMentionedUser?: MentionedUser) => void;
mentionedUsers: MentionedUser[];
};
export default useMentionTextInput;