import type { ConsumerPact } from '@pact-foundation/pact-core';
import type { PactV4Options, TestFunction, V4InteractionWithResponse } from './types';
export declare class InteractionWithResponse implements V4InteractionWithResponse {
    private pact;
    private opts;
    protected cleanupFn: () => void;
    constructor(pact: ConsumerPact, opts: PactV4Options, cleanupFn: () => void);
    executeTest<T>(testFn: TestFunction<T>): Promise<T | undefined>;
}
