import { InputPeerLike } from '../types/peers/index.js'; import { tl } from '../../tl/index.js'; export declare const INVITE_LINK_REGEX: RegExp; export declare function toInputPeer(res: tl.TypeInputPeer | tl.TypeInputUser | tl.TypeInputChannel | tl.RawUser | tl.RawChat | tl.RawChannel): tl.TypeInputPeer; export declare function toInputUser(res: tl.TypeInputPeer | tl.TypeInputUser | tl.TypeInputChannel, input?: InputPeerLike): tl.TypeInputUser; export declare function toInputChannel(res: tl.TypeInputPeer | tl.TypeInputUser | tl.TypeInputChannel, input?: InputPeerLike): tl.TypeInputChannel; export declare function isInputPeerUser(obj: tl.TypeInputPeer): obj is tl.RawInputPeerUser | tl.RawInputPeerUserFromMessage | tl.RawInputPeerSelf; export declare function isInputPeerChannel(obj: tl.TypeInputPeer): obj is tl.RawInputPeerChannel | tl.RawInputPeerChannelFromMessage; export declare function isInputPeerChat(obj: tl.TypeInputPeer): obj is tl.RawInputPeerChat; export declare function inputPeerToPeer(inp: tl.TypeInputPeer): tl.TypePeer; export declare function extractUsernames(obj: tl.RawUser | tl.RawChannel): string[];