import type { DiscordAllowedMentions } from "./discord-client.js"; import type { ScopePolicy } from "./policy.js"; import type { DiscordMessage } from "./types.js"; export declare function discordMentionedUserIds(content: string): string[]; export declare function assertDiscordSnowflake(value: string, name: string): void; export declare function assertDiscordMessageContent(content: string): void; export declare function canonicalDiscordNotificationUserIds(content: string, requested: readonly string[] | undefined): string[]; export declare function discordNotificationUserIds(content: string, requested: readonly string[] | undefined, policy: ScopePolicy): string[]; export declare function discordAllowedMentions(userIds: readonly string[], repliedUser: boolean): DiscordAllowedMentions; export declare function assertDiscordMessageIdentity(message: DiscordMessage, channelId: string, guildId: string, messageId?: string): void; export declare function assertDiscordBotMessage(message: DiscordMessage, botId: string): void; export declare function assertDiscordReplyReference(message: DiscordMessage, channelId: string, guildId: string, replyToMessageId: string | undefined): void; //# sourceMappingURL=message-safety.d.ts.map