import type { MentionUser } from './MentionExtension';
export interface MentionSuggestionOptions {
    suggestion: {
        items: (props: {
            query: string;
        }) => Promise<MentionUser[]> | MentionUser[];
        render: () => {
            onStart: (props: any) => void;
            onUpdate: (props: any) => void;
            onKeyDown: (props: any) => boolean;
            onExit: () => void;
        };
        char: string;
        allowSpaces: boolean;
        startOfLine: boolean;
    };
}
export declare function createMentionSuggestion(searchUsers: (query: string) => Promise<MentionUser[]> | MentionUser[], onMentionSelect?: (user: MentionUser) => void): MentionSuggestionOptions;
export declare function defaultUserSearch(query: string): Promise<MentionUser[]>;
export default createMentionSuggestion;
//# sourceMappingURL=MentionSuggestion.d.ts.map