import type { Bot } from "grammy";
import type { RuntimeEnv } from "../../../runtime.js";
export declare const TELEGRAM_MAX_COMMANDS = 90;
export type TelegramMenuCommand = {
    command: string;
    description: string;
};
type TelegramPluginCommandSpec = {
    name: string;
    description: string;
};
export declare function buildPluginTelegramMenuCommands(params: {
    specs: TelegramPluginCommandSpec[];
    existingCommands: Set<string>;
}): {
    commands: TelegramMenuCommand[];
    issues: string[];
};
export declare function buildCappedTelegramMenuCommands(params: {
    allCommands: TelegramMenuCommand[];
    maxCommands?: number;
}): {
    commandsToRegister: TelegramMenuCommand[];
    totalCommands: number;
    maxCommands: number;
    overflowCount: number;
};
export declare function syncTelegramMenuCommands(params: {
    bot: Bot;
    runtime: RuntimeEnv;
    commandsToRegister: TelegramMenuCommand[];
}): void;
export {};
