import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { InputMessageId, Message } from '../../types/messages/index.js';
import { InputPeerLike } from '../../types/peers/index.js';
/** @internal */
export declare function _getDiscussionMessage(client: ITelegramClient, peer: InputPeerLike, message: number): Promise<[tl.TypeInputPeer, number]>;
/**
 * Get discussion message for some channel post.
 *
 * Returns `null` if the post does not have a discussion
 * message.
 *
 * This method might throw `FLOOD_WAIT_X` error in case
 * the discussion message was not *yet* created. Error
 * is usually handled by the client, but if you disabled that,
 * you'll need to handle it manually.
 *
 * @param peer  Channel where the post was found
 * @param message  ID of the channel post
 */
export declare function getDiscussionMessage(client: ITelegramClient, params: InputMessageId): Promise<Message | null>;
