import { ChildProcess } from 'child_process'; import http from 'http'; export declare class Stub { host: string; port: number; url: string; process: ChildProcess; constructor(host: string, port: number, url: string, process: ChildProcess); } declare const startStub: (host?: string, port?: number, args?: (string | number)[]) => Promise; declare const stopStub: (stub: Stub) => Promise; declare const testWithApiCoverage: (expressApp: any, host?: string, port?: number, contractPath?: string, args?: (string | number)[]) => Promise<{ [k: string]: number; } | undefined>; declare const test: (host?: string, port?: number, contractPath?: string, args?: (string | number)[]) => Promise<{ [k: string]: number; } | undefined>; declare const showTestResults: (testFn: (name: string, cb: () => void) => void) => void; declare const setExpectations: (stubPath: string, stubServerBaseUrl?: string) => Promise; declare const setExpectationJson: (stubResponse: any, stubServerBaseUrl?: string) => Promise; declare const printJarVersion: () => void; declare const startApiCoverageServer: (expressApp: any) => Promise; export { startStub, stopStub, test, testWithApiCoverage, setExpectations, setExpectationJson, printJarVersion, showTestResults }; export { startApiCoverageServer };