import React, { PureComponent } from 'react';
import { ProviderFactory } from '../../provider-factory';
import { type ProfilecardProvider } from '../../provider-factory/profile-card-provider';
import { type MentionEventHandlers } from '../EventHandlers';
export interface MentionProps {
    accessLevel?: string;
    eventHandlers?: MentionEventHandlers;
    id: string;
    localId?: string;
    providers?: ProviderFactory;
    text: string;
}
export interface MentionState {
    profilecardProvider: ProfilecardProvider | null;
}
export default class Mention extends PureComponent<MentionProps, Object> {
    private providerFactory;
    constructor(props: MentionProps);
    componentWillUnmount(): void;
    private renderWithProvider;
    render(): React.JSX.Element;
}
