import { IHaloAPI, IHaloAPIOptions, IMetadata, IProfile, IStats } from './index-types'; import { guid, url } from './common'; declare class HaloAPI implements IHaloAPI { /** @inheritdoc */ stats: IStats; /** @inheritdoc */ metadata: IMetadata; /** @inheritdoc */ profile: IProfile; name: string; private apiKey; private host; private cacheName; private title; private cacheManager; constructor(opts: string | IHaloAPIOptions); /** @inheritdoc */ getJSON(endpoint: string, bypassCache?: boolean): Promise; /** @inheritdoc */ getImageURL(endpoint: string): Promise; /** @inheritdoc */ isGuid(id: guid): boolean; /** @inheritdoc */ jsonSchema(endpointFn: any): {}; private handleRequestRejection(endpoint, error, isJSON); private duplicateRequest(message, endpoint, isJSON); /** @inheritdoc */ cacheClear(): Promise; } export = HaloAPI;