export declare const nvidiaVgpuModelKey = "nvidiaVgpuModel"; export declare const nvidiaVgpuDevicesKey = "nvidiaVgpuDevices"; export declare const nvidiaVgpuPriorityKey = "nvidiaVgpPriority"; export declare const nvidiaVgpuGpuScheduleKey = "nvidiaVgpuGpuSchedule"; export declare const nvidiaVgpuNodeScheduleKey = "nvidiaVgpuNodeSchedule"; export type GpuUsage = 'quota' | 'workload'; export type GPUResourceSetting = { key?: string; alias?: string; type?: string; isAllocatable?: boolean; description?: string; descriptionZh?: string; aliasZh?: string; aliasCN?: string; range?: ResourceRange; available?: AvailableResource | null; unit?: string; }; export type AvailableResource = { available?: string; errorMessage?: string; }; export type ResourceRange = { min?: number; minDesc?: string; max?: number; maxDesc?: string; }; export type GPUSetting = { type?: string; alias?: string; provider?: string; isDynamic?: boolean; resource?: GPUResourceSetting[]; }; export interface GpuQuota { types: string[]; resources: Record; } export interface UpdateGpuQuota { types: string[]; resources: Record; } export type VgpuSchedulePolicy = 'binpack' | 'spread'; export interface GpuQuotaItem { type?: string; id?: string; removable?: boolean; [nvidiaVgpuModelKey]?: string; [nvidiaVgpuDevicesKey]?: string[]; [nvidiaVgpuPriorityKey]?: string; [nvidiaVgpuGpuScheduleKey]?: VgpuSchedulePolicy; [nvidiaVgpuNodeScheduleKey]?: VgpuSchedulePolicy; resources?: Record; } export type GPUSummary = { node?: string; vgpuTypes?: string[]; };