import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/peers/index.js';
import { tl } from '../../../tl/index.js';
/**
 * Get the `InputPeer` of a known peer id.
 * Useful when an `InputPeer` is needed in Raw API.
 *
 * @param peerId  The peer identifier that you want to extract the `InputPeer` from.
 * @param force  Whether to force re-fetch the peer from the server
 */
export declare function resolvePeer(client: ITelegramClient, peerId: InputPeerLike, force?: boolean): Promise<tl.TypeInputPeer>;
/**
 * Shorthand for `resolvePeer` that converts the input peer to `InputUser`.
 */
export declare function resolveUser(client: ITelegramClient, peerId: InputPeerLike, force?: boolean): Promise<tl.TypeInputUser>;
/**
 * Shorthand for `resolvePeer` that converts the input peer to `InputChannel`.
 */
export declare function resolveChannel(client: ITelegramClient, peerId: InputPeerLike, force?: boolean): Promise<tl.TypeInputChannel>;
