import type { MentionTarget, ParsedMentionTarget } from './types.js'; import type { IdentityState } from './identity.js'; export interface MentionState { chatMentionTargetByChatId: Map>; chatMentionCacheExpiresAtByChatId: Map; chatMemberReadUnavailable: boolean; } export declare function normalizeMentionLookupName(value: string): string; export declare function cacheChatMentionTarget(chatId: string, displayName: string, target: { openId?: string; appId?: string; }, aliases: string[], state: MentionState): void; export declare function parseMentionTarget(mention: unknown): ParsedMentionTarget | null; export declare function cacheChatMentionTargetsFromRawMentions(chatId: string, rawMentions: unknown, state: MentionState): void; export declare function normalizeIncomingMentionPlaceholders(text: string, rawMentions: unknown[]): string; export declare function refreshChatMentionTargets(chatId: string, force: boolean, mentionState: MentionState, identityState: IdentityState): Promise; export declare function resolveMentionTargetByName(chatId: string, rawName: string, mentionState: MentionState, identityState: IdentityState): MentionTarget | null; export declare function normalizeOutgoingMentions(text: string, target: { receiveIdType: 'open_id' | 'chat_id'; receiveId: string; }, mentionState: MentionState, identityState: IdentityState): Promise; //# sourceMappingURL=mentions.d.ts.map