import { AlertLog, AlertMatrix } from "./energy.cjs"; import { LogRecord } from "./energy_telemetry.cjs"; import { WmsaStatus } from "./wmsa_api.cjs"; import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; //#region src/energy_device/sm_api.d.ts declare const protobufPackage = "tesla.proto.energy_device.v1"; interface SMAPILogSignalsRequest { logRecord: LogRecord | undefined; } interface SMAPILogSignalsResponse {} interface SMAPIPushWmsaAlertLogRequest { log: AlertLog | undefined; } interface SMAPIPushWmsaAlertLogResponse {} interface SMAPIPushWmsaAlertMatrixRequest { matrix: AlertMatrix | undefined; } interface SMAPIPushWmsaAlertMatrixResponse {} interface SMAPIPushWmsaStatusRequest { wmsaStatus: WmsaStatus | undefined; } interface SMAPIPushWmsaStatusResponse {} interface SMMessages { pushWmsaStatusRequest: SMAPIPushWmsaStatusRequest | undefined; pushWmsaStatusResponse: SMAPIPushWmsaStatusResponse | undefined; pushWmsaAlertLogRequest: SMAPIPushWmsaAlertLogRequest | undefined; pushWmsaAlertLogResponse: SMAPIPushWmsaAlertLogResponse | undefined; pushWmsaAlertMatrixRequest: SMAPIPushWmsaAlertMatrixRequest | undefined; pushWmsaAlertMatrixResponse: SMAPIPushWmsaAlertMatrixResponse | undefined; logSignalsRequest: SMAPILogSignalsRequest | undefined; logSignalsResponse: SMAPILogSignalsResponse | undefined; } declare const SMAPILogSignalsRequest: MessageFns; declare const SMAPILogSignalsResponse: MessageFns; declare const SMAPIPushWmsaAlertLogRequest: MessageFns; declare const SMAPIPushWmsaAlertLogResponse: MessageFns; declare const SMAPIPushWmsaAlertMatrixRequest: MessageFns; declare const SMAPIPushWmsaAlertMatrixResponse: MessageFns; declare const SMAPIPushWmsaStatusRequest: MessageFns; declare const SMAPIPushWmsaStatusResponse: MessageFns; declare const SMMessages: 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 { DeepPartial, Exact, MessageFns, SMAPILogSignalsRequest, SMAPILogSignalsResponse, SMAPIPushWmsaAlertLogRequest, SMAPIPushWmsaAlertLogResponse, SMAPIPushWmsaAlertMatrixRequest, SMAPIPushWmsaAlertMatrixResponse, SMAPIPushWmsaStatusRequest, SMAPIPushWmsaStatusResponse, SMMessages, protobufPackage };