export interface HttpAdapter { method: "GET" | "POST" | "PUT" | "DELETE"; path: string; mapParams?: (req: { params: Record; query: Record; headers: Record; }) => Record; headers?: Record; }