import type { Transport } from "../types"; import { GET, POST } from "../params"; export declare class FetchTransport implements Transport { private init; constructor(init?: RequestInit); fetch(url: string, init: RequestInit): Promise; get(url: string, params?: GET): Promise; post(url: string, params?: POST): Promise; }