type srcProp = string;
type canPlayCbProp = (err: any) => void;
interface SoundInstance {
    audio: HTMLAudioElement;
}
declare class Sound implements SoundInstance {
    audio: HTMLAudioElement;
    loopCount: number;
    onEnd: any;
    constructor(src: srcProp, canPlayCb: canPlayCbProp);
    _processLoop(): void;
    play: (cb: any, onError: any) => void;
    pause: () => void;
    stop: (cb: any) => void;
    release: () => void;
    setVolume(v: any): void;
    setPan(): void;
    setCategory(): void;
    setNumberOfLoops(v: any): void;
    setCurrentTime(v: any): void;
    getVolume(): number;
    getPan(): void;
    getNumberOfLoops(): number;
    getCurrentTime(cb: any): void;
}
export declare const createSound: (src: any, cb: any) => Sound;
export default createSound;
