UNPKG

@pact-foundation/pact

Version:
19 lines (18 loc) 865 B
import type { V4UnconfiguredGraphQLInteraction } from './graphql/types'; import { PactV4Options, type V4UnconfiguredInteraction } from './http/types'; import type { V4UnconfiguredAsynchronousMessage, V4UnconfiguredSynchronousMessage } from './message/types'; import type { V4ConsumerPact } from './types'; export declare class PactV4 implements V4ConsumerPact { private opts; private pact; constructor(opts: PactV4Options); setup(): void; addInteraction(): V4UnconfiguredInteraction; addSynchronousInteraction(description: string): V4UnconfiguredSynchronousMessage; addAsynchronousInteraction(): V4UnconfiguredAsynchronousMessage; addGraphQLInteraction(): V4UnconfiguredGraphQLInteraction; } export * from '../xml'; export * from './graphql'; export * from './message/index'; export { PactV4 as Pact, PactV4Options as PactOptions };