export type RegisterHookOptions = { target: string handler: Function priority?: number }