import type { MentionProps } from "../../components/index"; import { ReactEditor } from 'slate-react'; interface UseMentionProps { mentionables: string[]; } export declare const useMention: (props: UseMentionProps) => { onKeydown: (event: KeyboardEvent, editor: ReactEditor) => boolean; getMentionSelectProps: () => MentionProps; searchValue: string; onChangeMention: (editor: ReactEditor) => void; setTargetRange: any; }; export {};