import { Mock } from '@quenk/test/lib/mock'; import { Future } from '@quenk/noni/lib/control/monad/future'; import { Parameters } from '../request/parameters'; import { Path } from '../request/path'; import { Request } from '../request'; import { Response } from '../response'; import { HTTPAgent, Options } from './'; /** * MockAgent is an HTTPAgent that can be used when testing projects that use * this library. */ export declare class MockAgent implements HTTPAgent { __MOCK__: Mock; head(path: Path, params?: Parameters, options?: Partial): Future>; get(path: Path, params?: Parameters, options?: Partial): Future>; post(path: Path, body?: Req, options?: Partial): Future>; put(path: Path, body?: Req, options?: Partial): Future>; patch(path: Path, body?: Req, options?: Partial): Future>; delete(path: Path, body?: Req, options?: Partial): Future>; send(req: Request): Future>; }