import type { Context } from 'telegraf'; export declare const GENERAL_TOPIC_ID = 1; export interface TelegramRoute { chatId: number; threadId?: number; isTopicMessage?: boolean; } export declare function routeFromCtx(ctx: Context): TelegramRoute | undefined; export declare function isGeneral(route: TelegramRoute): boolean; export declare function routeKey(route: TelegramRoute): string; export declare function sendOptions(route: TelegramRoute): { message_thread_id?: number; };