import type { Context } from 'telegraf'; import type { Message } from 'telegraf/types'; export declare const EDIT_THROTTLE_MS = 300; export declare const DELIVERY_TRUNCATED_NOTICE = "\u26A0\uFE0F Telegram dropped part of this reply (rate limit) \u2014 ask me to resend it."; export interface SenderState { sentMessage: Message.TextMessage | null; lastEditAt: number; } export declare function sendOrEdit(state: SenderState, ctx: Context, chatId: number, text: string, force?: boolean): Promise; export declare function deliverClean(ctx: Context, text: string): Promise;