import { ResourceValue } from "./resourcevalue"; import { Attribute } from "./attribute"; import { Endpoint } from "./endpoint"; import * as _m0 from "protobufjs/minimal"; import { DeepPartial } from "@osmonauts/helpers"; /** CPU stores resource units and cpu config attributes */ export interface CPU { units: ResourceValue; attributes: Attribute[]; } /** Memory stores resource quantity and memory attributes */ export interface Memory { quantity: ResourceValue; attributes: Attribute[]; } /** Storage stores resource quantity and storage attributes */ export interface Storage { quantity: ResourceValue; attributes: Attribute[]; } /** * ResourceUnits describes all available resources types for deployment/node etc * if field is nil resource is not present in the given data-structure */ export interface ResourceUnits { cpu?: CPU; memory?: Memory; storage?: Storage; endpoints: Endpoint[]; } export declare const CPU: { encode(message: CPU, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): CPU; fromJSON(object: any): CPU; toJSON(message: CPU): unknown; fromPartial(object: DeepPartial): CPU; }; export declare const Memory: { encode(message: Memory, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Memory; fromJSON(object: any): Memory; toJSON(message: Memory): unknown; fromPartial(object: DeepPartial): Memory; }; export declare const Storage: { encode(message: Storage, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Storage; fromJSON(object: any): Storage; toJSON(message: Storage): unknown; fromPartial(object: DeepPartial): Storage; }; export declare const ResourceUnits: { encode(message: ResourceUnits, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ResourceUnits; fromJSON(object: any): ResourceUnits; toJSON(message: ResourceUnits): unknown; fromPartial(object: DeepPartial): ResourceUnits; };