/*! * Copyright (c) 2025-present, Vanilagy and contributors * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ /** * An encoded audio frame. * * Corresponds to the WebCodecs EncodedAudioChunk API. */ export declare class EncodedAudioChunkPolyfill { /** * Whether this chunk is a key frame ("key") or delta frame ("delta"). */ readonly type: EncodedAudioChunkType; /** * The timestamp in integer microseconds. */ readonly timestamp: number; /** * The duration in integer microseconds, or null if not specified. */ readonly duration: number | null; /** * The size of the encoded data in bytes. */ readonly byteLength: number; private data; /** * Creates a new EncodedAudioChunk. */ constructor(init: EncodedAudioChunkInit); /** * Copies the encoded chunk data to a destination buffer. */ copyTo(destination: AllowSharedBufferSource): void; }