import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; //#region src/energy_device/energy.d.ts declare const protobufPackage = "tesla.proto.energy_device.v1"; declare enum EnergyAccumulationType { ENERGY_ACCUMULATION_TYPE_INVALID = 0, ENERGY_ACCUMULATION_TYPE_LIFETIME = 1, ENERGY_ACCUMULATION_TYPE_TODAY = 2, ENERGY_ACCUMULATION_TYPE_SESSION = 3, UNRECOGNIZED = -1 } declare function energyAccumulationTypeFromJSON(object: any): EnergyAccumulationType; declare function energyAccumulationTypeToJSON(object: EnergyAccumulationType): string; declare enum GridState { GRID_STATE_INVALID = 0, GRID_STATE_UNCOMPLIANT = 1, GRID_STATE_QUALIFYING = 2, GRID_STATE_COMPLIANT = 3, UNRECOGNIZED = -1 } declare function gridStateFromJSON(object: any): GridState; declare function gridStateToJSON(object: GridState): string; interface AccumulatedEnergy { /** Energy Wh. */ energyWh: number; accumulationType: EnergyAccumulationType; periodS: number | undefined; } interface GridComplianceStatus { gridState: GridState; qualifyingTimeRemainingS: number | undefined; } interface InstACMeasurement { /** Voltage (Vrms) */ voltageVrms: number; /** Frequency (Hz) */ frequencyHz: number; /** Current (Arms) */ currentArms: number | undefined; /** Real power (W) */ realPowerW: number | undefined; /** Reactive Power (Var) */ reactivePowerVar: number | undefined; /** Apparent Power (Va) */ apparentPowerVa: number | undefined; } interface InstDCMeasurement { /** Voltage (V) */ voltageV: number; /** Current (A) */ currentA: number | undefined; } interface AlertLog { data?: number | undefined; } interface AlertMatrix { data?: number | undefined; } declare const AccumulatedEnergy: MessageFns; declare const GridComplianceStatus: MessageFns; declare const InstACMeasurement: MessageFns; declare const InstDCMeasurement: MessageFns; declare const AlertLog: MessageFns; declare const AlertMatrix: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } //#endregion export { AccumulatedEnergy, AlertLog, AlertMatrix, DeepPartial, EnergyAccumulationType, Exact, GridComplianceStatus, GridState, InstACMeasurement, InstDCMeasurement, MessageFns, energyAccumulationTypeFromJSON, energyAccumulationTypeToJSON, gridStateFromJSON, gridStateToJSON, protobufPackage };