import type { Synth } from "./synth"; export declare class Module { synth: Synth; name: string; scritps: string[]; inputs: { name: string; required: boolean; defaultValue: any; descriptions?: string; }[]; values: Record; createCallback: Function; updateCallback: Function; inputChangeCallbacks: Record; lastInputs: Record; bLoadedScripts: boolean; started: boolean; constructor(synth: any, name: any); loadScripts(scripts: string | string[], loadImmediately?: boolean): Promise; setInput(name: any, defaultValue?: any, required?: boolean): void; onInputChange(watcher: string[] | CallableFunction, callback?: CallableFunction): void; bind(inputs?: Record): Promise; getInputs(): {}; create(createCallback: Function): Promise; start(): Promise; resize(width: number, height: number): void; stop(): Promise; onUpdate(updateCallback: Function): void; update(): void; help(): void; }