import { IntegrationInvocationValidator } from '../types'; import { IntegrationValidationContext } from '../types/invocation'; /** * Invokes the invocation validator within an error handling block that ensures any * thrown error is wrapped in an error type which provides job logging context * for reporting execution failures to users. * * @param context the execution context provided to the handler * @param invocationValidator the integration invocation validator */ export default function invokeInvocationValidator(context: IntegrationValidationContext, invocationValidator: IntegrationInvocationValidator): Promise;