import { TestObject } from "./test-object"; import type { TestObjectData, ConfigurableTestObjectData, TestFunction, TestFunctionCtx, Location } from "./types"; type HookOpts = TestObjectData & { fn: TestFunction; location?: Location; }; export declare class Hook extends TestObject { fn: TestFunction; readonly location?: Location; static create(this: new (opts: HookOpts) => T, opts: HookOpts): T; constructor({ title, fn, location }: HookOpts); clone(): Hook; get file(): ConfigurableTestObjectData["file"]; get timeout(): ConfigurableTestObjectData["timeout"]; get browserId(): ConfigurableTestObjectData["browserId"]; } export {};