/* eslint-disable @typescript-eslint/no-explicit-any */ import {ReadonlyOr} from '@myparcel-vfb/utils/src'; export type HookCallback = (...args: any[]) => any; export type HookNamesObject = { hookNames?: HookNames; }; export type HookManagerConfiguration = HookNamesObject & Record; export type CustomHookItem = { name: HN; callback: HookCallback; }; export type HookNames = ReadonlyOr<(string | HN)[]>;