import { MOCK_FUNCTION_EXECUTION, MOCK_FUNCTION_CALLER } from '@contract-case/case-core-plugin-function-dsl'; import { AnyInteractionDescriptor } from '../base/AnyInteractionDescriptor'; import { AnyMatcherOrData } from '../../types'; import { FunctionExecutionExample } from './types'; /** * Defines an example that executes a registered function with specific arguments * * @public */ export declare class WillCallFunction extends AnyInteractionDescriptor { /** @internal */ readonly '_case:mock:type': typeof MOCK_FUNCTION_EXECUTION; /** @internal */ readonly '_case:run:context:setup': { write: { type: typeof MOCK_FUNCTION_EXECUTION; stateVariables: 'default'; triggers: 'provided'; }; read: { type: typeof MOCK_FUNCTION_CALLER; stateVariables: 'state'; triggers: 'generated'; }; }; readonly request: AnyMatcherOrData; readonly response: AnyMatcherOrData; readonly functionName: string; /** * Defines an interaction that executes a registered function with specific arguments, * expecting that interaction to return successfully * * @param example - a {@link mocks.functions.FunctionExecutionExample} */ constructor(example: FunctionExecutionExample); } //# sourceMappingURL=MockFunctionExecution.d.ts.map