import { DefaultClient } from "./client"; export class Version { version_current: string; version_latest: string; outdated: boolean; constructor() { throw Error(); } static get(): Promise { return DefaultClient.fetch(["admin", "version"]); } toString(): string { return this.version_current; } }