import type { DiscordChannel } from '@discordeno/types'; import type Client from '../../Client.js'; import Collection from '../../Collection.js'; import type { CreateInviteOptions, TextVoiceChannelTypes, VideoQualityMode } from '../../typings.js'; import type Member from '../guilds/Member.js'; import GuildChannel from './Guild.js'; export declare class VoiceChannel extends GuildChannel { bitrate: number; rtcRegion: string | null; type: TextVoiceChannelTypes; userLimit: number; videoQualityMode: VideoQualityMode; voiceMembers: Collection; constructor(data: DiscordChannel, client: Client); update(data: DiscordChannel): void; /** * Create an invite for the channel * @arg {Object} [options] Invite generation options * @arg {Number} [options.maxAge] How long the invite should last in seconds * @arg {Number} [options.maxUses] How many uses the invite should last for * @arg {Boolean} [options.temporary] Whether the invite grants temporary membership or not * @arg {Boolean} [options.unique] Whether the invite is unique or not * @arg {String} [reason] The reason to be displayed in audit logs * @returns {Promise} */ createInvite(options: CreateInviteOptions, reason: string): Promise; /** * Get all invites in the channel * @returns {Promise>} */ getInvites(): Promise; toJSON(props?: string[]): Record; } export default VoiceChannel; //# sourceMappingURL=Voice.d.ts.map