import { tl } from '../../../tl/index.js';
import { ITelegramClient } from '../../client.types.js';
import { InputPeerLike, Chat } from '../../types/index.js';
/**
 * Change default chat permissions for all members.
 *
 * You must be an administrator in the chat and have appropriate permissions.
 *
 * @param chatId  Chat ID or username
 * @param restrictions
 *     Restrictions for the chat. Note that unlike Bot API, this object contains
 *     the restrictions, and not the permissions, i.e.
 *     passing `sendMessages=true` will disallow the users to send messages,
 *     and passing `{}` (empty object) will lift any restrictions
 */
export declare function setChatDefaultPermissions(client: ITelegramClient, chatId: InputPeerLike, restrictions: Omit<tl.RawChatBannedRights, '_' | 'untilDate'>): Promise<Chat>;
