import type { ActorsConfigMap, AsyncInterpreter, CommonConfig3, EventObject, EventsMap, SimpleMachineOptions2, SyncInterpreter, PrimitiveObject } from '@bemedev/app/types'; import type { ConstructTestsResult, Option } from './types'; /** * Type definition for the `constructTests` test builder function. * * @template | {@linkcode CommonConfig3} `C` - Machine configuration type extending type {@linkcode CommonConfig3}. * @template `Pc` - Protected context type. * @template | {@linkcode PrimitiveObject} `Tc` - Context type extending type {@linkcode PrimitiveObject}. * @template | {@linkcode EventsMap} `E` - Events map type extending type {@linkcode EventsMap}. * @template | {@linkcode ActorsConfigMap} `A` - Actors configuration map extending type {@linkcode ActorsConfigMap}. * @template `Ta` - Tag type extending `string`. * @template | {@linkcode EventObject} `Eo` - Event object type extending type {@linkcode EventObject}. * @template `AllPaths` - All paths union type extending `string`. * @template | {@linkcode SimpleMachineOptions2} `Mo` - Machine options type extending type {@linkcode SimpleMachineOptions2}. * @template | {@linkcode SimpleMachineOptions2} `L` - Local machine options type extending type {@linkcode SimpleMachineOptions2}. * @template `T` - Custom helper return type extending `object`. * * @param vi - Vitest utility instance. * @param service - Interpreter service instance (type {@linkcode SyncInterpreter} or type {@linkcode AsyncInterpreter}). * @param helper - Optional helper builder callback receiving type {@linkcode Option}. * @param startIndex - Optional initial test step index. * * @returns Result object of type {@linkcode ConstructTestsResult}. */ export type ConstructTests_F = (service: SyncInterpreter | AsyncInterpreter, helper?: (option: Option) => T, startIndex?: number) => ConstructTestsResult; //# sourceMappingURL=constructTests.types.d.ts.map