import { BotInstance } from '../../BotInstance'; import { GuildMuteListResponseInternal } from './guildMute.type'; export declare class GuildMuteAPI { private self; constructor(self: BotInstance); /** * 服务器静音闭麦列表 * @param guildId 服务器id */ list(guildId: string): Promise; /** * 添加服务器静音或闭麦 * @param guildId 服务器id * @param userId 用户id * @param type `1`代表麦克风闭麦,`2`代表耳机静音 */ create(guildId: string, userId: string, type: string | 1 | 2): Promise; /** * 删除服务器静音或闭麦 * @param guildId 服务器id * @param userId 用户id * @param type `1`代表麦克风闭麦,`2`代表耳机静音 */ delete(guildId: string, userId: string, type: string | 1 | 2): Promise; }