import type { LightTheme } from '../../types.js'; import { DiscordMediaLifecycle } from '../_private/DiscordMediaLifecycle.js'; import '../discord-link/DiscordLink.js'; export declare class DiscordVoiceMessage extends DiscordMediaLifecycle implements LightTheme { /** * @internal */ static readonly styles: import("lit").CSSResult[]; get mediaAttachmentHorizontal(): HTMLDivElement | null; get audioAttachmentWrapperAudio(): HTMLDivElement | null; duration?: number; getDuration(): number; private patchWidthAndDuration; private createBufferFromBase64; private createPeaksFromRawDiscordWaveform; /** * raw discord Base64 encoded bytearray representing a sampled waveform */ waveform?: string; speeds: number[]; speed: number; getNextSpeed(): number; private readonly nextSpeed; private getCurrentWaveColor; private patchWaveColors; peaks?: string; firstUpdated(): void; disconnectedCallback(): void; updated(changedProperties: Map): void; /** * The URL to audio file * * @example * ```ts * 'https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3' * ``` */ href: string; lightTheme: boolean; protected render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'discord-voice-message': DiscordVoiceMessage; } } //# sourceMappingURL=DiscordVoiceMessage.d.ts.map