interface Listener { action(...args: Input): Output; } export type { Listener };