import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike } from '../../types/index.js';
/**
 * Edit supergroup/channel admin rights of a user.
 */
export declare function editAdminRights(client: ITelegramClient, params: {
    /** Chat ID */
    chatId: InputPeerLike;
    /** User ID */
    userId: InputPeerLike;
    /** New admin rights */
    rights: Omit<tl.RawChatAdminRights, '_'>;
    /** Custom admin rank */
    rank?: string;
}): Promise<void>;
