import React, { PureComponent } from 'react';
import type { MentionUserType } from '@atlaskit/adf-schema';
import { ProviderFactory } from '../../provider-factory';
import type { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
import type { MentionEventHandlers } from '../EventHandlers';
export interface MentionProps {
    accessLevel?: string;
    disabledTooltip?: string;
    eventHandlers?: MentionEventHandlers;
    id: string;
    isDisabled?: boolean;
    localId?: string;
    providers?: ProviderFactory;
    text: string;
    userType?: MentionUserType;
}
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;
}
