import { Observable } from "../../Misc/observable.js"; import { type IAbstractSoundInstanceOptions, _AbstractSoundInstance } from "./abstractSoundInstance.js"; import { type IStreamingSoundOptionsBase, type StreamingSound } from "./streamingSound.js"; /** * Options for creating streaming sound instance. * @internal */ export interface IStreamingSoundInstanceOptions extends IAbstractSoundInstanceOptions, IStreamingSoundOptionsBase { } /** @internal */ export declare abstract class _StreamingSoundInstance extends _AbstractSoundInstance { private _rejectPreloadedPromise; private _resolvePreloadedPromise; protected abstract readonly _options: IStreamingSoundInstanceOptions; /** @internal */ readonly onReadyObservable: Observable<_StreamingSoundInstance>; /** @internal */ readonly preloadedPromise: Promise; protected constructor(sound: StreamingSound); /** @internal */ set startOffset(value: number); /** @internal */ dispose(): void; }