/**
 * The request never got an HTTP response. Carries the host and port rather
 * than the platform's error text, which differs between runtimes and
 * platforms and so cannot be asserted in a cross-language test.
 * Mirrors Python's mirage.commands.builtin.errors.HttpConnectError.
 */
export declare class HttpConnectError extends Error {
    readonly host: string;
    readonly port: number;
    constructor(host: string, port: number);
}
/**
 * The request ran past its deadline before an HTTP response arrived.
 *
 * A subclass, because a timeout is one more way the request never got a
 * response, so a caller content with that answer (wget) keeps catching
 * one type; curl tells them apart for its exit 28.
 */
export declare class HttpTimeoutError extends HttpConnectError {
    readonly elapsedMs: number;
    constructor(host: string, port: number, elapsedMs: number);
}
//# sourceMappingURL=errors.d.ts.map