UNPKG

@micrio/tiler-base

Version:

The base Micrio client-side tiler package used by the Micrio CLI and GUI tools

8 lines (7 loc) 400 B
import type { UserToken } from '../types.js'; import https from 'https'; /** * Talk with the Micrio dashboard CLI API (https://dash.micr.io/api/cli/*) * @see https://github.com:Q42/Micrio/server/dash.micr.io for the server code (Q42 only -- might open source one day) */ export declare const api: <T>(account: UserToken, agent: https.Agent, path: string, data?: Object) => Promise<T | undefined>;