/**
 * Debouncer key / policy for coalescing short Telegram messages.
 */
import type { Context } from 'grammy';
import type { Message } from '@grammyjs/types';
export interface TelegramMessageEvent {
    ctx: Context;
    accountId: string;
    message: Message;
}
export declare function telegramDebouncerKeyPolicy(): {
    buildKey: (item: TelegramMessageEvent) => string;
    shouldDebounce: (item: TelegramMessageEvent) => boolean;
};
