import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
/**
 * Sets the default chat permissions for the bot in the supergroup or channel.
 */
export declare function setMyDefaultRights(client: ITelegramClient, params: {
    /** Whether to target groups or channels. */
    target: 'channel' | 'group';
    /** The default chat permissions. */
    rights: Omit<tl.RawChatAdminRights, '_'>;
}): Promise<void>;
