import { AnyMockDescriptorType, CaseConfig } from '@contract-case/case-core'; import { TestInvoker } from '@contract-case/case-core/dist/src/core/executeExample/types.js'; import { ContractCaseBoundaryConfig } from '../boundary/config.types.js'; /** * SeparateConfig only exists because at one point these two things were separate. * At some point, we should refactor this so that the config shape doesn't need to * be mapped into this intermediate type. */ type SeparateConfig = { config: CaseConfig; partialInvoker: Partial>; }; /** * Converts between the boundary config (which is less restricted) and a * validated form of CaseConfig. * * Here, validated means "conforms to the typescript definition of CaseConfig". * * Mappers should throw `CaseConfigurationError` if the values in the boundary config * can't be assigned to the CaseConfig. * * @internal * @param param0 - A boundary config object * @returns a validated case config object */ export declare const convertConfig: ({ stateHandlers, triggerAndTest, triggerAndTests, logLevel, publish, autoVersionFrom, changedContracts, contractsToWrite, ...incoming }: ContractCaseBoundaryConfig) => SeparateConfig; export {}; //# sourceMappingURL=config.d.ts.map