import { Model } from './model'; import { Game } from './game'; export declare namespace IDatabase { const Cpu: { label: string; value: number; }[]; const Memory: { label: string; value: number; }[]; const Replicas: { label: string; value: number; }[]; const Storage: { label: string; value: number; }[]; interface Status { components?: StatusComponent[]; nodes?: StatusNode[]; phase: string; version?: string; } interface StatusComponent { current: number; name: string; phase: string; total: number; } interface StatusNode { _id: string; displayName: string; phase: string; } } export declare class Database extends Model { _id: string; cpu: number; createdAt: Date; game: Game; gameId: string; preemptible: boolean; memory: number; name: string; namespaceId: string; replicas: number; restartedAt: Date; status: IDatabase.Status; storage: number; updatedAt: Date; constructor(params?: Partial); static isRestartRequired(fields: string[]): boolean; }