import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/peers/index.js';
import { CallbackQuery } from '../../types/updates/callback-query.js';
import { Message } from '../../types/messages/message.js';
/**
 * Get the message containing the button being clicked
 * in the given callback query.
 */
export declare function getCallbackQueryMessage(client: ITelegramClient, id: CallbackQuery | tl.RawUpdateBotCallbackQuery | {
    messageId: number;
    queryId: tl.Long;
    peer: InputPeerLike;
}): Promise<Message | null>;
