import { TSearchItem } from '..';
import { StyleProp, TextInputProps, ViewStyle } from 'react-native';
import { IMentionPosition } from '../../../core/types';
type UseMentionProps = {
    value: string;
    communityId?: string;
    onChange: (value: string) => void;
    setMentionPosition: (position: IMentionPosition) => void;
    setMentionUsers: (user: TSearchItem) => void;
    isMentionLimitReached?: boolean;
    onMentionLimitReached?: () => void;
};
type RenderSuggestionsProps = {
    type?: 'post' | 'comment';
    style?: StyleProp<ViewStyle>;
    bottom?: number;
};
declare function useMention({ value, onChange, communityId, setMentionUsers, setMentionPosition, isMentionLimitReached, onMentionLimitReached, }: UseMentionProps): {
    renderInput: (props: TextInputProps) => import("react/jsx-runtime").JSX.Element;
    renderSuggestions: ({ type, style, bottom, }: RenderSuggestionsProps) => import("react/jsx-runtime").JSX.Element;
};
export default useMention;
//# sourceMappingURL=index.d.ts.map