import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { Message } from '../../types/messages/index.js';
/**
 * @internal
 * @noemit
 */
export declare function _findMessageInUpdate(client: ITelegramClient, res: tl.TypeUpdates, isEdit?: boolean, noDispatch?: boolean, allowNull?: false, randomId?: tl.Long): Message;
/**
 * @internal
 * @noemit
 */
export declare function _findMessageInUpdate(client: ITelegramClient, res: tl.TypeUpdates, isEdit?: boolean, noDispatch?: boolean, allowNull?: true, randomId?: tl.Long): Message | null;
