import { LimeType, LimeWebComponentContext, LimeWebComponentPlatform } from '@limetech/lime-web-components';
import { TriggerHandler } from './text-editor.types';
import { TriggerCharacter } from '@limetech/lime-elements';
/**
 * Get the limetypes that should be available for mentions
 *
 * @param limetypes all limetypes
 * @returns mention limetypes
 */
export declare function getMentionLimetypes(limetypes: Record<string, LimeType>): LimeType[];
export declare class MentionsService {
    private readonly platform;
    private readonly context;
    private readonly searchableLimetypes;
    private readonly groupCounts;
    private readonly _triggerCharacter;
    private readonly _triggerHandler;
    private get limeObjectService();
    private get queryService();
    private get viewFactoryRegistry();
    private get translator();
    get triggerCharacter(): TriggerCharacter;
    get triggerHandler(): TriggerHandler;
    constructor(platform: LimeWebComponentPlatform, context: LimeWebComponentContext, searchableLimetypes: LimeType[]);
    initialize(): Promise<void>;
    private loadGroupCounts;
    private getGroupCounts;
    private createGroupCount;
    private readonly searcher;
    private createSearchListItems;
    private createSearchListItem;
    private getGroupCountComponent;
    private readonly inserter;
}
//# sourceMappingURL=mentions.d.ts.map