import { a as When, c as Hook, i as Then, l as HookCallback, n as StepDefinition, o as After, r as StepDefinitionCallback, s as Before, t as Given } from "./step-definitions-7oDazqCT.js"; import { ParameterType, ParameterType as ParameterType$1, RegExps } from "@cucumber/cucumber-expressions"; /** * @public */ type CompiledFeature = object> = { name: string; tag: 'only' | 'skip' | undefined; scenarios: Array<{ name: string; tag: 'only' | 'skip' | undefined; steps: Array<(stepContext?: TStepContext) => Promise | void>; }>; beforeHooks: Array<(stepContext?: TStepContext) => Promise | void>; afterHooks: Array<(stepContext?: TStepContext) => Promise | void>; }; /** * @public */ declare function compileFeature = object, TStepContext extends Record = object>({ featureText, hooks, stepDefinitions, parameterTypes }: { featureText: string; hooks?: Array>; stepDefinitions: Array>; parameterTypes?: Array>; }): CompiledFeature; /** * @public */ type ParameterTypeConfig = { readonly name: string; matcher: RegExps; type?: (...args: unknown[]) => TType; transform?: (...match: string[]) => TType; }; /** * @public */ declare function createParameterType(config: ParameterTypeConfig): ParameterType; export { After, Before, CompiledFeature, Given, Hook, HookCallback, type ParameterType, ParameterTypeConfig, StepDefinition, StepDefinitionCallback, Then, When, compileFeature, createParameterType }; //# sourceMappingURL=index.d.ts.map