import { ITelegramClient } from '../../client.types.js'; import { InputFileLike, Photo } from '../../types/index.js'; import { tl } from '../../../tl/index.js'; /** * Set a new profile photo or video for the current user. * * You can also pass a file ID or an InputPhoto to re-use existing photo. */ export declare function setMyProfilePhoto(client: ITelegramClient, params: { /** Media type (photo or video) */ type: 'photo' | 'video'; /** Input media file */ media: InputFileLike | tl.TypeInputPhoto; /** When `type = video`, timestamp in seconds which will be shown as a static preview. */ previewSec?: number; }): Promise;