import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/peers/peer.js';
import { User } from '../../types/peers/user.js';
/**
 * Get the user who will be made the creator of the chat/channel/supergroup if you were to leave it.
 *
 * You must be the creator of the chat/channel/supergroup to use this method.
 */
export declare function getCreatorAfterLeave(client: ITelegramClient, chatId: InputPeerLike): Promise<User | null>;
