CustomizableFilters
Custom filters for Hoshimi: the key is the filter name, the value is the payload it takes. Extend this interface via module augmentation to get autocompletion for the name and a checked payload in `FilterManager.set` / `FilterManager.get`. Registering the filter is a separate, optional step that buys envelope routing and node validation; this only adds types.
Signature
export interface CustomizableFiltersJSDoc
Examples
declare module "hoshimi" {
interface CustomizableFilters {
forkEcho: { decay: number; delay: number };
}
}
await player.filterManager.set("forkEcho", { decay: 0.5, delay: 200 }, { top: true });Members
This export does not declare public properties or methods in the generated declaration file.