import { ITelegramClient } from '../../client.types.js'; import { InputPeerLike, InputText, User } from '../../types/index.js'; /** * Add an existing Telegram user as a contact */ export declare function addContact(client: ITelegramClient, params: { /** User ID, username or phone number */ userId: InputPeerLike; /** * First name of the contact */ firstName: string; /** * Last name of the contact */ lastName?: string; /** * Phone number of the contact, if available */ phone?: string; /** * Whether to share your own phone number * with the newly created contact * * @default false */ sharePhone?: boolean; /** * Note to the contact */ note?: InputText; }): Promise;