import { INoteSequence } from '../protobuf/index'; declare class OnsetsAndFrames { private checkpointURL; chunkLength: number; private initialized; private onsetsCnn; private onsetsRnn; private activationCnn; private frameRnn; private velocityCnn; constructor(checkpointURL: string, chunkLength?: number); initialize(): Promise; dispose(): void; isInitialized(): boolean; transcribeFromMelSpec(melSpec: number[][], parallelBatches?: number): Promise; transcribeFromAudioBuffer(audioBuffer: AudioBuffer, batchSize?: number): Promise; transcribeFromAudioFile(blob: Blob): Promise; transcribeFromAudioURL(url: string): Promise; private processBatches; private build; } export { OnsetsAndFrames };