import type { VoiceManager } from './voice-manager.js'; import { type PlayerStrings } from '../core/strings.js'; /** * Microphone toggle button for collaborative voice chat. * * First click starts voice (requests microphone). * Subsequent clicks toggle mute. * Shows mic icon (active) or mic-muted icon (muted). */ export declare class VoiceButton { private container; private btn; private voiceManager; private onVoiceStarted?; private strings; constructor(voiceManager: VoiceManager, onVoiceStarted?: () => void, strings?: PlayerStrings); /** Get the DOM element to insert into controls */ getElement(): HTMLDivElement; /** Update button icon based on current voice state */ updateState(): void; /** Handle toggle via keyboard shortcut */ toggle(): void; /** Clean up */ dispose(): void; private handleClick; } //# sourceMappingURL=voice-button.d.ts.map