import type { GET, POST, Params } from "./params"; export interface Auth { sign(method: "GET" | "POST", url: string, params: Params): Promise; } export interface Transport { get(url: string, params: GET): Promise; post(url: string, params: POST): Promise; } export interface Parser { parse(res: Response): Promise; }