/**
 * * HTTP utilities for making API calls to the Wayback Machine
 */
interface FetchOptions {
    method?: string;
    headers?: Record<string, string>;
    body?: string;
    timeout?: number;
}
export declare class HttpError extends Error {
    readonly status?: number | undefined;
    readonly response?: string | undefined;
    constructor(message: string, status?: number, response?: string);
}
/**

 * * Wrapper around fetch with timeout support and error handling

 */
export declare function fetchWithTimeout(url: string, options?: FetchOptions): Promise<Response>;
export {};
//# sourceMappingURL=http.d.ts.map