import React from "react";
export declare type InstrumentProps = {
    onStartPlaying?: (noteName: string) => void;
    onStopPlaying?: (noteName: string) => void;
    onInstrumentLoaded?: (instrumentName: string, noteName: string) => void;
    name: string;
    loader?: any;
    style?: any;
    interactive?: boolean;
};
declare class Instrument extends React.Component<InstrumentProps> {
    loadingNotesCounter: number;
    state: {
        isLoaded: boolean;
    };
    static defaultProps: {
        name: string;
    };
    onStartPlaying: (noteName: string) => void;
    onStopPlaying: (noteName: string) => void;
    onNoteLoaded: (instrumentName: string, noteName: string) => void;
    render(): JSX.Element;
}
export default Instrument;
