/** * @module Core */ import { IResolver, ICallback } from '../Contracts'; /** * Hook class is used for running the group hooks. */ export declare class Hook { private _resolveFn; private _fn; private _hookLifecycle; constructor(_resolveFn: IResolver, _fn: ICallback, _hookLifecycle: string); /** * Run the hook. The hooks will raise errors and the parent test or * group should emit required events for them. */ run(): Promise; }