import { MaybeArray } from '../../../types/utils.js';
import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/peers/index.js';
import { Message } from '../../types/messages/index.js';
/**
 * Get messages in chat by their IDs
 *
 * For messages that were not found, `null` will be
 * returned at that position.
 *
 * @param chatId  Chat's marked ID, its username, phone or `"me"` or `"self"`
 * @param messageIds  Messages IDs
 * @param [fromReply]
 *     Whether the reply to a given message should be fetched
 *     (i.e. `getMessages(msg.chat.id, msg.id, true).id === msg.replyToMessageId`)
 */
export declare function getMessages(client: ITelegramClient, chatId: InputPeerLike, messageIds: MaybeArray<number>, fromReply?: boolean): Promise<(Message | null)[]>;
