import React from 'react';
import type { MentionProvider } from '@atlaskit/mention/resource';
import type { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
import type { MentionEventHandlers } from '../EventHandlers';
export interface Props {
    accessLevel?: string;
    eventHandlers?: MentionEventHandlers;
    id: string;
    localId?: string;
    mentionProvider?: Promise<MentionProvider>;
    profilecardProvider?: Promise<ProfilecardProvider>;
    text: string;
}
export interface State {
    profilecardProvider: ProfilecardProvider | null;
}
export declare const MentionWithProviders: React.MemoExoticComponent<({ accessLevel, eventHandlers, id, mentionProvider, profilecardProvider: profilecardProviderResolver, text, localId, }: Props) => React.JSX.Element>;
