import { type MentionDescription, AbstractMentionResource, type MentionNameResolver, type ResolvingMentionProvider, type MentionNameDetails, type MentionProvider } from '@atlaskit/mention/resource'; import { type InviteFlow, type UserRole } from '@atlaskit/mention'; export interface MockMentionConfig { maxWait?: number; mentionNameResolver?: MentionNameResolver; minWait?: number; onInviteItemClick?: (flow: InviteFlow) => void; productName?: string; shouldEnableInvite?: boolean; userRole?: UserRole; } export declare class MockMentionResource extends AbstractMentionResource implements ResolvingMentionProvider, MentionProvider { private config; private lastReturnedSearch; private search; private isBrowserOnline; productName?: string; shouldEnableInvite: boolean; userRole: UserRole; onInviteItemClick?: (flow: InviteFlow) => void; constructor(config: MockMentionConfig); filter(query: string): Promise; recordMentionSelection(mention: MentionDescription): void; resolveMentionName(id: string): Promise | MentionNameDetails; cacheMentionName(id: string, name: string): void; supportsMentionNameResolving(): boolean; shouldHighlightMention(mention: MentionDescription): boolean; }