UNPKG

scryfall-client

Version:
5 lines (4 loc) 273 B
import type { AnyJson } from "../../types/json"; export { setUserAgent } from "./user-agent"; export declare function get<T>(url: string, query?: Record<string, string>): Promise<T>; export declare function post<T>(url: string, body?: Record<string, AnyJson>): Promise<T>;