react-hifi
Version:
A set of react components wich provides simple abstraption to manipulate HTML5 AudioContext API (Equalizer, visualisation, stereo, basic controls)
14 lines (13 loc) • 544 B
TypeScript
import { ReactElement } from 'react';
export declare const audioElementMock: {
pause(): void;
play: () => Promise<void>;
currentTime: number;
};
export declare const options: {
createNodeMock: (element: ReactElement<any, string | ((props: any) => ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)>) => {
pause(): void;
play: () => Promise<void>;
currentTime: number;
} | null;
};