import { HookOptions } from '@verbalstream/verbaltest-playwright-core'; /** * Run method before all tests in the suite. * Target class should be marked by @suite decorator. * * @example * ``` * @suite() * class MyTestSuite { * @beforeAll() * async setup() { * // Setup logic that runs once before all tests * } * } * ``` */ export declare function beforeAll(options?: HookOptions): (target: any, propertyKey?: string | symbol, descriptor?: PropertyDescriptor) => any; /** * Run method before each test in suite. * Target class should be marked by @suite decorator. * * @example * ``` * @suite() * class MyTestSuite { * @beforeEach() * async setupEach({ page }) { * // Setup logic that runs before each test * await page.goto('https://example.com'); * } * } * ``` */ export declare function beforeEach(options?: HookOptions): (target: any, propertyKey?: string | symbol, descriptor?: PropertyDescriptor) => any; /** * Run method after each test in suite. * Target class should be marked by @suite decorator. * * @example * ``` * @suite() * class MyTestSuite { * @afterEach() * async teardownEach({ page }) { * // Cleanup logic that runs after each test * } * } * ``` */ export declare function afterEach(options?: HookOptions): (target: any, propertyKey?: string | symbol, descriptor?: PropertyDescriptor) => any; /** * Run method after all tests in the suite. * Target class should be marked by @suite decorator. * * @example * ``` * @suite() * class MyTestSuite { * @afterAll() * async teardown() { * // Cleanup logic that runs once after all tests * } * } * ``` */ export declare function afterAll(options?: HookOptions): (target: any, propertyKey?: string | symbol, descriptor?: PropertyDescriptor) => any; //# sourceMappingURL=hooks.decorator.d.ts.map