import type { AllGuildVoiceChannels, GuildStructure, ReturnCache, UserStructure, UsingClient, VoiceStateStructure } from '../'; import type { VoiceStateResource } from '../cache/resources/voice-states'; import { type GuildMemberStructure } from '../client/transformers'; import type { ObjectToLower } from '../common'; import type { APIVoiceState } from '../types'; import { Base } from './extra/Base'; export interface VoiceState extends Base, ObjectToLower> { } export declare class VoiceState extends Base { protected withMember?: GuildMemberStructure; constructor(client: UsingClient, data: APIVoiceState); get isMuted(): boolean; get isDeafened(): boolean; get isCameraOn(): boolean; get isStreaming(): boolean; get isSuppressed(): boolean; member(force?: boolean): Promise; user(force?: boolean): Promise; channel(mode?: 'rest' | 'flow'): Promise; channel(mode: 'cache'): ReturnCache; setMute(mute?: boolean, reason?: string): Promise; setDeaf(deaf?: boolean, reason?: string): Promise; setSuppress(suppress?: boolean): Promise; requestSpeak(date?: string | Date): Promise; disconnect(reason?: string): Promise; fetch(force?: boolean): Promise; setChannel(channel_id: null | string, reason?: string): Promise; guild(mode?: 'rest' | 'flow'): Promise>; guild(mode: 'cache'): ReturnCache | undefined>; }