import { Config } from "./Config"; import { Expectation } from "./Expectation"; import { Logger } from "./Logger"; import { RequestExpectationLogger } from "./request-logging/RequestExpectationLogger"; import { ExpectationValue } from "./Values"; export interface ExpectationRequestContext { expectationLogger: RequestExpectationLogger; expectationValue: ExpectationValue; } export declare class ExpectationRunner { protected config: Config; private logger; private expectation; private static id; private active; private id; private timesMatched; private expectationConfig; constructor(config: Config, logger: Logger, expectation: Expectation); start(): void; stop(): void; getId(): string | number; onRequest(ctx: ExpectationRequestContext): Promise; private match; private respond; private afterRespond; }