import BinaryReader from "../BinaryReader"; import { IProperty } from "../IProperty"; import Property from "../Property"; export default class AudioProperty extends Property { length: number; duration: number; audio: AudioBufferSourceNode; playingPromise: Promise; isPlaying: boolean; analyser: AnalyserNode; constructor(name: string, reader: BinaryReader, parent: IProperty); Play(loop: boolean, onEnd: (this: AudioScheduledSourceNode, ev: Event) => any): Promise; Stop(): void; }