CustomizablePluginPayloads

Custom plugin filter payloads for Hoshimi. Extend this interface via module augmentation to declare typed plugin payload keys (either nested under a plugin name, e.g. `"my-plugin"`, or flat filter keys placed directly under `pluginFilters`). Runtime registration via {@link FilterRegistry} works without augmenting this interface; augmentation only adds compile-time autocompletion and type-checking for the new keys.

Signature

export interface CustomizablePluginPayloads

JSDoc

Examples

declare module "hoshimi" {
  interface CustomizablePluginPayloads {
    "my-fork-plugin"?: { gain?: number };
  }
}

Members

This export does not declare public properties or methods in the generated declaration file.