import type { TelegramBotCommand, TelegramBotCommandScopeAllChatAdministrators, TelegramBotCommandScopeAllGroupChats, TelegramBotCommandScopeAllPrivateChats, TelegramBotCommandScopeChat, TelegramBotCommandScopeChatAdministrators, TelegramBotCommandScopeChatMember, TelegramBotCommandScopeDefault } from '@puregram/api'; /** static factories for the `BotCommandScope` discriminated union */ declare class BotCommandScope { /** default scope — fallback for users without narrower scope match */ static default(): TelegramBotCommandScopeDefault; /** all private chats */ static allPrivateChats(): TelegramBotCommandScopeAllPrivateChats; /** all group and supergroup chats */ static allGroupChats(): TelegramBotCommandScopeAllGroupChats; /** all admin members of all groups/supergroups */ static allChatAdministrators(): TelegramBotCommandScopeAllChatAdministrators; /** a specific chat */ static chat(chatId: number | string): TelegramBotCommandScopeChat; /** all admins of a specific chat */ static chatAdministrators(chatId: number | string): TelegramBotCommandScopeChatAdministrators; /** a specific member of a specific chat */ static chatMember(chatId: number | string, userId: number): TelegramBotCommandScopeChatMember; } /** * static factories for `BotCommand` and the `BotCommandScope` family — used by * `setMyCommands`, `deleteMyCommands`, `getMyCommands` * * @example * ```ts * tg.api.setMyCommands({ * commands: [ * BotCommands.command('start', 'start the bot'), * BotCommands.command('help', 'show help') * ], * scope: BotCommands.scope.allPrivateChats() * }) * ``` */ export declare class BotCommands { /** scope-builder namespace — use `BotCommands.scope.X(...)` */ static scope: typeof BotCommandScope; /** single bot command entry */ static command(command: string, description: string): TelegramBotCommand; } export {}; //# sourceMappingURL=bot-commands.d.ts.map