import { TAudioContextState, TContext, TEventHandler } from '../types'; import { IAudioDestinationNode } from './audio-destination-node'; import { IAudioListener } from './audio-listener'; import { IEventTarget } from './event-target'; import { IMinimalBaseAudioContextEventMap } from './minimal-base-audio-context-event-map'; export interface IMinimalBaseAudioContext extends IEventTarget { readonly currentTime: number; readonly destination: IAudioDestinationNode; readonly listener: IAudioListener; onstatechange: null | TEventHandler; readonly sampleRate: number; readonly state: TAudioContextState; }