UNPKG

mcp-wayback-machine

Version:

MCP server and CLI tool for interacting with the Wayback Machine without API keys

22 lines (20 loc) 623 B
/** * * 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