import { type Type } from '../common'; export type AnyStage = string & {}; export interface GenericHook { providedBy: string; priority?(): number; filter?(ctx: Ctx): boolean | Promise; aroundExecute?: (ctx: Ctx, next: () => Promise) => Promise; [stage: string]: any; } export interface CollectHooksFn { (stage: AnyStage, options: { resolve: (cls: any) => T; globalHooksByStage?: Partial>; localHooksByStage?: Partial>; ctx: Ctx; owner?: { name?: string; }; }): Promise[]>; } //# sourceMappingURL=drinen-hooks.types.d.ts.map