import { type MessageProvider } from "https://deno.land/x/pact@0.1.0/src/pact-js/dsl/message.ts";
A Message Provider is a function that will be invoked by the framework in order to produce a message for a consumer. The response must match what the given consumer has specified in the pact file. It is given a Message Descriptor object when being invoked which can be used for additional context.
definition: (m: MessageDescriptor) => Promise<MessageFromProvider | MessageFromProviderWithMetadata> | MessageFromProvider | MessageFromProviderWithMetadata