/* eslint-disable no-var */ /* eslint-disable vars-on-top */ type $TsFixMe = any; declare var AudioWorkletProcessor: { prototype: AudioWorkletProcessor; new (options?: AudioWorkletNodeOptions): AudioWorkletProcessor; }; interface AudioWorkletProcessor { readonly port: MessagePort; process( inputs: Float32Array[][], outputs: Float32Array[][], parameters: Record, ): boolean; } declare function registerProcessor( name: string, processorCtor: (new (options?: AudioWorkletNodeOptions) => AudioWorkletProcessor) & { parameterDescriptors?: AudioParamDescriptor[]; }, ): undefined;