@@ -66,6 +66,20 @@ export declare class HookRegistry extends DebuggableService {
*/
hasHook(type: HookType, hook: RouterHook): boolean;
+ /**
+ * Get hooks.
+ *
+ * @param type
+ */
+ getHooks(type: typeof HookType.PRE_HANDLER): PreHandlerHook[];
+
+ getHooks(type: typeof HookType.POST_HANDLER): PostHandlerHook[];
/**
* Get hooks.
*