import { WordPressHookSystem } from '../WordpressHookSystem'; import { MethodDecorator } from './methodDecorator'; import { IWPHookSubscriber } from './WpHookSubscriber'; /** * Method decorator to register an action within the class * @param {() => WordPressHookSystem} hookGetter * @param {string} action the action name * @param {number} priority the priority of such action. Defaults to 10 */ export declare function OnWPAction Promise>(hookGetter: () => WordPressHookSystem, action: string, priority?: number): MethodDecorator; export declare function OnWPAction Promise>(action: string, priority?: number): MethodDecorator;