/// import { AzurAPI } from './Client'; export default class Updater { cron?: NodeJS.Timeout; private client; /** * Constructor * @param client AzurAPI instance */ constructor(client: AzurAPI); /** * Check for updates then update and load cache */ update(): Promise; /** * Start cron job */ start(): void; /** * Stop cron job */ stop(): void; /** * Check if folder and JSON files exist then load cache */ init(): Promise; /** * Load the cache */ load(): Promise | undefined; }