UNPKG

@pact-foundation/pact

Version:
6 lines (5 loc) 467 B
import type { ConsumerInteraction } from '@pact-foundation/pact-core'; import type { TemplateHeaders, V3Request, V3Response } from './types'; export declare const setRequestDetails: (interaction: ConsumerInteraction, req: V3Request) => void; export declare const setResponseDetails: (interaction: ConsumerInteraction, res: V3Response) => void; export declare const contentTypeFromHeaders: (headers: TemplateHeaders | undefined, defaultContentType: string) => string;