import { Context } from 'grammy';
import { MessageMediaInfo, OldMessageInfo } from './types';
import { Message } from 'grammy/types';
/**
 * Retrieves the media of the message, if any.
 */
export declare function getMessageMediaInfo(message: Message): MessageMediaInfo | null;
/**
 * Tries to retrieve the info of the old message from the context.
 *
 * If the message from the callback is inaccessible or the callback belongs to
 * an inline message it will make a guess on whether the old message had a
 * media, pass `guessedHasMedia` if the guess should be true.
 */
export declare function getMessageInfo<C extends Context>(ctx: C, guessedHasMedia?: boolean): OldMessageInfo;
