import type { Func } from './types'; /** * Add a mongoose Middleware-Plugin * @param mongoosePlugin The Plugin to plug-in * @param options Options for the Plugin, if any * @example Example: * ```ts * @plugin(pluginFunctionHere, { optionsHere: true }) * class ClassName {} * ``` */ export declare function plugin[1]>(mongoosePlugin: TFunc, options?: TParams): ClassDecorator; export { plugin as Plugins };