import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/peers/peer.js';
/**
 * Transfer ownership of a chat/channel/supergroup to another user.
 *
 * You must be the creator of the chat to use this method,
 * and your account must have 2FA enabled.
 */
export declare function transferChatOwnership(client: ITelegramClient, params: {
    /** ID of the chat/channel/supergroup to transfer */
    chatId: InputPeerLike;
    /** ID of the user to transfer ownership to */
    userId: InputPeerLike;
    /** Your 2FA password */
    password: string;
}): Promise<void>;
