import React from 'react'; export interface EQBand { freq: number; gain: number; q: number; type: BiquadFilterType; label?: string; } export interface EffectOptions { [key: string]: any; } export interface EffectsState { [effectName: string]: { enabled: boolean; options: EffectOptions; }; } interface AudioContextType { audioRef: React.RefObject; isPlaying: boolean; currentTime: number; duration: number; togglePlay: () => void; seek: (time: number) => void; eqBands: EQBand[]; setEqBands: React.Dispatch>; effectsState: EffectsState; setEffectsState: React.Dispatch>; analyserNode: AnalyserNode | null; isGraphReady: boolean; } export declare const AudioContext: React.Context; export declare const useAudio: () => AudioContextType; export {};