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<Response>;
    get(url: string, params?: GET): Promise<Response>;
    post(url: string, params?: POST): Promise<Response>;
}
