import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { User } from '../../types/peers/user.js';
/** @internal */
export declare function _onAuthorization(client: ITelegramClient, auth: tl.auth.TypeAuthorization): Promise<User>;
/**
 * Check if the given peer/input peer is referring to the current user
 */
export declare function isSelfPeer(client: ITelegramClient, peer: tl.TypeInputPeer | tl.TypePeer | tl.TypeInputUser): boolean;
