import { AnyCaseMatcherOrData } from '@contract-case/case-core'; import { ContractCaseConnectorConfig, DefinitionId, ExampleDefinition } from './types.cjs'; import { BoundaryInvokableFunction, BoundaryResult, ILogPrinter, IResultPrinter } from '../entities/types.cjs'; export declare const beginDefinition: (config: ContractCaseConnectorConfig, callbackPrinter: ILogPrinter, resultPrinter: IResultPrinter, callerVersions: string[]) => DefinitionId; export declare const runInteraction: (defineId: string, definition: ExampleDefinition, config: ContractCaseConnectorConfig) => Promise; export declare const runRejectingInteraction: (defineId: string, definition: ExampleDefinition, config: ContractCaseConnectorConfig) => Promise; export declare const stripMatchers: (defineId: string, matcherOrData: AnyCaseMatcherOrData) => BoundaryResult; /** * Registers a function that the core can invoke later. * * @param defineId - The ID for the contract definer * @param handle - The handle / name to refer to this function later * @param invokeableFunction - The function to invoke * @returns A {@link BoundaryResult} Promise indicating whether the function was registered successfully */ export declare const registerFunction: (defineId: string, handle: string, invokeableFunction: BoundaryInvokableFunction) => Promise; export declare const endRecord: (defineId: string) => Promise; //# sourceMappingURL=define.d.ts.map