interface IDefineTestCaseHookOptions { name?: string; tags?: string; timeout?: number; } interface IDefineTestRunHookOptions { name?: string; timeout?: number; } interface IDefineTestStepHookOptions { tags?: string; timeout?: number; } type HookOptions = Omit & { tag?: string; }; /** * A method decorator that marks the associated function as a 'Before Scenario' step. The function is * executed before each scenario. * * @param tagOrOption An optional tag or hook options object. */ export declare function before(tagOrOption?: string | HookOptions): MethodDecorator; /** * A method decorator that marks the associated function as an 'After Scenario' step. The function is * executed after each scenario. * * @param tagOrOption An optional tag or hook options object. */ export declare function after(tagOrOption?: string | HookOptions): MethodDecorator; /** * A method decorator that marks the associated function as a 'Before Scenario' step. The function is * executed before each scenario. * * @param options Optional hook options object. */ export declare function beforeAll(options?: IDefineTestRunHookOptions): MethodDecorator; /** * A method decorator that marks the associated function as an 'After Scenario' step. The function is * executed after each scenario. * * @param options Optional hook options object. */ export declare function afterAll(options?: IDefineTestRunHookOptions): MethodDecorator; /** * A method decorator that marks the associated function as a 'Before Step' step. The function is * executed before each step. * * @param options Optional hook options object. */ export declare function beforeStep(options?: IDefineTestStepHookOptions): MethodDecorator; /** * A method decorator that marks the associated function as an 'After Step' step. The function is * executed after each step. * * @param options Optional hook options object. */ export declare function afterStep(options?: IDefineTestStepHookOptions): MethodDecorator; export {}; //# sourceMappingURL=hook-decorators.d.ts.map