import { MatchObject, Match, Matcher, VerifyCallback, RunHandlerOrPromise, RequestForHandler, MatcherDeepObjectOfStrings } from './types'; declare class Expectation { prefix: string; called: number; assertions: (() => void)[]; handlers: ((req: RequestForHandler) => void)[]; runPromise?: Promise; constructor(match: MatchObject); request(req: RequestForHandler): void; api(predicateOrMatchObject: Match): this; atLeast(num: number): this; atMost(num: number): this; never(): this; once(): this; twice(): this; thrice(): this; exactly(num: number): this; path(value: Matcher): this; url(value: Matcher): this; header(name: string, value: Matcher): this; params(value: MatcherDeepObjectOfStrings): this; query(value: MatcherDeepObjectOfStrings): this; body(value: any): this; verifier(done: (err?: Error) => void): (err?: Error | undefined) => void; run(handlerOrPromise: RunHandlerOrPromise): this; verify(callback?: VerifyCallback): Promise | undefined; } export { Expectation };