import { Class } from 'type-fest'; import { CommandHandler } from "../../command"; export interface OnOptions { priority?: number; } export declare const addSubscriber: (kind: "middleware" | "before" | "after", HandlerClass: Class, any[]>, options: OnOptions | undefined, SubscriberClass: any, propertyKey: string | symbol) => void;