UNPKG

updown.io

Version:
13 lines (12 loc) 328 B
import type { API, ClientOptions } from './interfaces'; export declare class UpdownIO { api: API; private readonly apiClient; constructor(apiKey?: string); constructor(options?: ClientOptions); /** * Set a new API URL. * @param newURL The new API url */ setApiUrl(newURL: string): void; }