77import { EventEmitter } from ' node:events' ;
88import { Expression } from ' @cucumber/cucumber-expressions' ;
99import { GeneratedExpression } from ' @cucumber/cucumber-expressions' ;
10- import { IDefineStep as IDefineStep_2 } from ' ./support_code_library_builder/types' ;
11- import { IDefineTestCaseHookOptions as IDefineTestCaseHookOptions_2 } from ' ./support_code_library_builder/types' ;
12- import { IDefineTestRunHookOptions as IDefineTestRunHookOptions_2 } from ' ./support_code_library_builder/types' ;
13- import { IDefineTestStepHookOptions as IDefineTestStepHookOptions_2 } from ' ./support_code_library_builder/types' ;
1410import { IdGenerator } from ' @cucumber/messages' ;
15- import { IParameterTypeDefinition as IParameterTypeDefinition_2 } from ' ./support_code_library_builder/types' ;
16- import { IWorld as IWorld_2 } from ' ./support_code_library_builder/world' ;
1711import { JsonObject } from ' type-fest' ;
1812import * as messages from ' @cucumber/messages' ;
19- import { ParallelAssignmentValidator as ParallelAssignmentValidator_2 } from ' ./support_code_library_builder/types' ;
2013import { ParameterType } from ' @cucumber/cucumber-expressions' ;
2114import { ParameterTypeRegistry } from ' @cucumber/cucumber-expressions' ;
2215import { Readable } from ' node:stream' ;
23- import { TestCaseHookFunction as TestCaseHookFunction_2 } from ' ./support_code_library_builder/types' ;
24- import { TestRunHookFunction as TestRunHookFunction_2 } from ' ./support_code_library_builder/types' ;
25- import { TestStepHookFunction as TestStepHookFunction_2 } from ' ./support_code_library_builder/types' ;
2616import { TestStepResultStatus } from ' @cucumber/messages' ;
2717import { Writable } from ' node:stream' ;
2818
2919// @public (undocumented)
30- export const After: (<WorldType = IWorld_2 <any >>(code : TestCaseHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(tags : string , code : TestCaseHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(options : IDefineTestCaseHookOptions_2 , code : TestCaseHookFunction_2 <WorldType >) => void );
20+ export const After: (<WorldType = IWorld <any >>(code : TestCaseHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(tags : string , code : TestCaseHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(options : IDefineTestCaseHookOptions , code : TestCaseHookFunction <WorldType >) => void );
3121
3222// @public (undocumented)
33- export const AfterAll: ((code : TestRunHookFunction_2 ) => void ) & ((options : IDefineTestRunHookOptions_2 , code : TestRunHookFunction_2 ) => void );
23+ export const AfterAll: ((code : TestRunHookFunction ) => void ) & ((options : IDefineTestRunHookOptions , code : TestRunHookFunction ) => void );
3424
3525// @public (undocumented)
36- export const AfterStep: (<WorldType = IWorld_2 <any >>(code : TestStepHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(tags : string , code : TestStepHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(options : IDefineTestStepHookOptions_2 , code : TestStepHookFunction_2 <WorldType >) => void );
26+ export const AfterStep: (<WorldType = IWorld <any >>(code : TestStepHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(tags : string , code : TestStepHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(options : IDefineTestStepHookOptions , code : TestStepHookFunction <WorldType >) => void );
3727
3828// @public (undocumented)
3929function atMostOnePicklePerTag(tagNames : string []): ParallelAssignmentValidator ;
4030
4131// @public (undocumented)
42- export const Before: (<WorldType = IWorld_2 <any >>(code : TestCaseHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(tags : string , code : TestCaseHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(options : IDefineTestCaseHookOptions_2 , code : TestCaseHookFunction_2 <WorldType >) => void );
32+ export const Before: (<WorldType = IWorld <any >>(code : TestCaseHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(tags : string , code : TestCaseHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(options : IDefineTestCaseHookOptions , code : TestCaseHookFunction <WorldType >) => void );
4333
4434// @public (undocumented)
45- export const BeforeAll: ((code : TestRunHookFunction_2 ) => void ) & ((options : IDefineTestRunHookOptions_2 , code : TestRunHookFunction_2 ) => void );
35+ export const BeforeAll: ((code : TestRunHookFunction ) => void ) & ((options : IDefineTestRunHookOptions , code : TestRunHookFunction ) => void );
4636
4737// @public (undocumented)
48- export const BeforeStep: (<WorldType = IWorld_2 <any >>(code : TestStepHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(tags : string , code : TestStepHookFunction_2 <WorldType >) => void ) & (<WorldType = IWorld_2 <any >>(options : IDefineTestStepHookOptions_2 , code : TestStepHookFunction_2 <WorldType >) => void );
38+ export const BeforeStep: (<WorldType = IWorld <any >>(code : TestStepHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(tags : string , code : TestStepHookFunction <WorldType >) => void ) & (<WorldType = IWorld <any >>(options : IDefineTestStepHookOptions , code : TestStepHookFunction <WorldType >) => void );
4939
5040// @public @deprecated (undocumented)
5141export const Cli: typeof Cli_2 ;
@@ -70,10 +60,10 @@ export class DataTable {
7060}
7161
7262// @public (undocumented)
73- export const defineParameterType: (options : IParameterTypeDefinition_2 <any >) => void ;
63+ export const defineParameterType: (options : IParameterTypeDefinition <any >) => void ;
7464
7565// @public (undocumented)
76- export const defineStep: IDefineStep_2 ;
66+ export const defineStep: IDefineStep ;
7767
7868// @public (undocumented)
7969class EventDataCollector {
@@ -204,7 +194,7 @@ declare namespace GherkinDocumentParser {
204194}
205195
206196// @public (undocumented)
207- export const Given: IDefineStep_2 ;
197+ export const Given: IDefineStep ;
208198
209199// @public
210200export interface IConfiguration {
@@ -452,7 +442,7 @@ export const setDefaultTimeout: (milliseconds: number) => void;
452442export const setDefinitionFunctionWrapper: (fn : Function ) => void ;
453443
454444// @public (undocumented)
455- export const setParallelCanAssign: (fn : ParallelAssignmentValidator_2 ) => void ;
445+ export const setParallelCanAssign: (fn : ParallelAssignmentValidator ) => void ;
456446
457447// @public (undocumented)
458448export const setWorldConstructor: (fn : any ) => void ;
@@ -497,7 +487,7 @@ export class TestCaseHookDefinition extends Definition implements IDefinition {
497487}
498488
499489// @public (undocumented)
500- export const Then: IDefineStep_2 ;
490+ export const Then: IDefineStep ;
501491
502492// @public (undocumented)
503493export class UsageFormatter extends Formatter {
@@ -531,7 +521,7 @@ enum UsageOrder {
531521export const version: string ;
532522
533523// @public (undocumented)
534- export const When: IDefineStep_2 ;
524+ export const When: IDefineStep ;
535525
536526// @public (undocumented)
537527export class World <ParametersType = any > implements IWorld <ParametersType > {
0 commit comments