interface HooksObject { [key: string]: Hook } export default class Hook { constructor(context: any); register(func: Function): void; register(arr: Array): void; deregister(func: Function): void; trigger(...args: any[]): Promise; list(): Array; clear(): void; }