import type { PlaybackPlugin } from './transport'; /** Structural subset of WorkletSynthesizer. The caller loads its worklet and sound bank. */ export interface SpessaSynthHost { readonly context: BaseAudioContext; readonly isReady: Promise; programChange(channel: number, program: number): void; noteOn(channel: number, pitch: number, velocity: number): void; noteOff(channel: number, pitch: number): void; pitchWheelRange(channel: number, semitones: number): void; pitchWheel(channel: number, value: number): void; } /** Reserve melodic channels for this adapter. Pass distinct channels when sharing a synth with other music. */ export declare function createSpessaSynthPlayback(synth: SpessaSynthHost, channels?: readonly number[]): PlaybackPlugin;