// @generated by protoc-gen-es v1.10.0 // @generated from file component/board/v1/board.proto (package viam.component.board.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from enum viam.component.board.v1.PowerMode */ export declare enum PowerMode { /** * @generated from enum value: POWER_MODE_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: POWER_MODE_NORMAL = 1; */ NORMAL = 1, /** * @generated from enum value: POWER_MODE_OFFLINE_DEEP = 2; */ OFFLINE_DEEP = 2, } /** * @generated from message viam.component.board.v1.Status */ export declare class Status extends Message { /** * @generated from field: map analogs = 1; */ analogs: { [key: string]: number }; /** * @generated from field: map digital_interrupts = 2; */ digitalInterrupts: { [key: string]: bigint }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.Status"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Status; static fromJson(jsonValue: JsonValue, options?: Partial): Status; static fromJsonString(jsonString: string, options?: Partial): Status; static equals(a: Status | PlainMessage | undefined, b: Status | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetGPIORequest */ export declare class SetGPIORequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string pin = 2; */ pin: string; /** * @generated from field: bool high = 3; */ high: boolean; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetGPIORequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetGPIORequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetGPIORequest; static fromJsonString(jsonString: string, options?: Partial): SetGPIORequest; static equals(a: SetGPIORequest | PlainMessage | undefined, b: SetGPIORequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetGPIOResponse */ export declare class SetGPIOResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetGPIOResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetGPIOResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetGPIOResponse; static fromJsonString(jsonString: string, options?: Partial): SetGPIOResponse; static equals(a: SetGPIOResponse | PlainMessage | undefined, b: SetGPIOResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.GetGPIORequest */ export declare class GetGPIORequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string pin = 2; */ pin: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.GetGPIORequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGPIORequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetGPIORequest; static fromJsonString(jsonString: string, options?: Partial): GetGPIORequest; static equals(a: GetGPIORequest | PlainMessage | undefined, b: GetGPIORequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.GetGPIOResponse */ export declare class GetGPIOResponse extends Message { /** * @generated from field: bool high = 1; */ high: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.GetGPIOResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetGPIOResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetGPIOResponse; static fromJsonString(jsonString: string, options?: Partial): GetGPIOResponse; static equals(a: GetGPIOResponse | PlainMessage | undefined, b: GetGPIOResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.PWMRequest */ export declare class PWMRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string pin = 2; */ pin: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.PWMRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PWMRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PWMRequest; static fromJsonString(jsonString: string, options?: Partial): PWMRequest; static equals(a: PWMRequest | PlainMessage | undefined, b: PWMRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.PWMResponse */ export declare class PWMResponse extends Message { /** * 0-1 * * @generated from field: double duty_cycle_pct = 1; */ dutyCyclePct: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.PWMResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PWMResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PWMResponse; static fromJsonString(jsonString: string, options?: Partial): PWMResponse; static equals(a: PWMResponse | PlainMessage | undefined, b: PWMResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetPWMRequest */ export declare class SetPWMRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string pin = 2; */ pin: string; /** * 0-1 * * @generated from field: double duty_cycle_pct = 3; */ dutyCyclePct: number; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetPWMRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetPWMRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetPWMRequest; static fromJsonString(jsonString: string, options?: Partial): SetPWMRequest; static equals(a: SetPWMRequest | PlainMessage | undefined, b: SetPWMRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetPWMResponse */ export declare class SetPWMResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetPWMResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetPWMResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetPWMResponse; static fromJsonString(jsonString: string, options?: Partial): SetPWMResponse; static equals(a: SetPWMResponse | PlainMessage | undefined, b: SetPWMResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.PWMFrequencyRequest */ export declare class PWMFrequencyRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string pin = 2; */ pin: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.PWMFrequencyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PWMFrequencyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PWMFrequencyRequest; static fromJsonString(jsonString: string, options?: Partial): PWMFrequencyRequest; static equals(a: PWMFrequencyRequest | PlainMessage | undefined, b: PWMFrequencyRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.PWMFrequencyResponse */ export declare class PWMFrequencyResponse extends Message { /** * @generated from field: uint64 frequency_hz = 1; */ frequencyHz: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.PWMFrequencyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PWMFrequencyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PWMFrequencyResponse; static fromJsonString(jsonString: string, options?: Partial): PWMFrequencyResponse; static equals(a: PWMFrequencyResponse | PlainMessage | undefined, b: PWMFrequencyResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetPWMFrequencyRequest */ export declare class SetPWMFrequencyRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string pin = 2; */ pin: string; /** * @generated from field: uint64 frequency_hz = 3; */ frequencyHz: bigint; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetPWMFrequencyRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetPWMFrequencyRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetPWMFrequencyRequest; static fromJsonString(jsonString: string, options?: Partial): SetPWMFrequencyRequest; static equals(a: SetPWMFrequencyRequest | PlainMessage | undefined, b: SetPWMFrequencyRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetPWMFrequencyResponse */ export declare class SetPWMFrequencyResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetPWMFrequencyResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetPWMFrequencyResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetPWMFrequencyResponse; static fromJsonString(jsonString: string, options?: Partial): SetPWMFrequencyResponse; static equals(a: SetPWMFrequencyResponse | PlainMessage | undefined, b: SetPWMFrequencyResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.ReadAnalogReaderRequest */ export declare class ReadAnalogReaderRequest extends Message { /** * @generated from field: string board_name = 1; */ boardName: string; /** * @generated from field: string analog_reader_name = 2; */ analogReaderName: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.ReadAnalogReaderRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReadAnalogReaderRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ReadAnalogReaderRequest; static fromJsonString(jsonString: string, options?: Partial): ReadAnalogReaderRequest; static equals(a: ReadAnalogReaderRequest | PlainMessage | undefined, b: ReadAnalogReaderRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.ReadAnalogReaderResponse */ export declare class ReadAnalogReaderResponse extends Message { /** * @generated from field: int32 value = 1; */ value: number; /** * @generated from field: float min_range = 2; */ minRange: number; /** * @generated from field: float max_range = 3; */ maxRange: number; /** * @generated from field: float step_size = 4; */ stepSize: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.ReadAnalogReaderResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ReadAnalogReaderResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ReadAnalogReaderResponse; static fromJsonString(jsonString: string, options?: Partial): ReadAnalogReaderResponse; static equals(a: ReadAnalogReaderResponse | PlainMessage | undefined, b: ReadAnalogReaderResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.WriteAnalogRequest */ export declare class WriteAnalogRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: string pin = 2; */ pin: string; /** * @generated from field: int32 value = 3; */ value: number; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.WriteAnalogRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WriteAnalogRequest; static fromJson(jsonValue: JsonValue, options?: Partial): WriteAnalogRequest; static fromJsonString(jsonString: string, options?: Partial): WriteAnalogRequest; static equals(a: WriteAnalogRequest | PlainMessage | undefined, b: WriteAnalogRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.WriteAnalogResponse */ export declare class WriteAnalogResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.WriteAnalogResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WriteAnalogResponse; static fromJson(jsonValue: JsonValue, options?: Partial): WriteAnalogResponse; static fromJsonString(jsonString: string, options?: Partial): WriteAnalogResponse; static equals(a: WriteAnalogResponse | PlainMessage | undefined, b: WriteAnalogResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.GetDigitalInterruptValueRequest */ export declare class GetDigitalInterruptValueRequest extends Message { /** * @generated from field: string board_name = 1; */ boardName: string; /** * @generated from field: string digital_interrupt_name = 2; */ digitalInterruptName: string; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.GetDigitalInterruptValueRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDigitalInterruptValueRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetDigitalInterruptValueRequest; static fromJsonString(jsonString: string, options?: Partial): GetDigitalInterruptValueRequest; static equals(a: GetDigitalInterruptValueRequest | PlainMessage | undefined, b: GetDigitalInterruptValueRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.GetDigitalInterruptValueResponse */ export declare class GetDigitalInterruptValueResponse extends Message { /** * @generated from field: int64 value = 1; */ value: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.GetDigitalInterruptValueResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetDigitalInterruptValueResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetDigitalInterruptValueResponse; static fromJsonString(jsonString: string, options?: Partial): GetDigitalInterruptValueResponse; static equals(a: GetDigitalInterruptValueResponse | PlainMessage | undefined, b: GetDigitalInterruptValueResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.StreamTicksRequest */ export declare class StreamTicksRequest extends Message { /** * Board name * * @generated from field: string name = 1; */ name: string; /** * Name of digital interrupts to recieve ticks from * * @generated from field: repeated string pin_names = 2; */ pinNames: string[]; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.StreamTicksRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamTicksRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StreamTicksRequest; static fromJsonString(jsonString: string, options?: Partial): StreamTicksRequest; static equals(a: StreamTicksRequest | PlainMessage | undefined, b: StreamTicksRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.StreamTicksResponse */ export declare class StreamTicksResponse extends Message { /** * name of interrupt * * @generated from field: string pin_name = 1; */ pinName: string; /** * Time in nanoseconds of a tick * * @generated from field: uint64 time = 2; */ time: bigint; /** * Value high or low of the tick * * @generated from field: bool high = 3; */ high: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.StreamTicksResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamTicksResponse; static fromJson(jsonValue: JsonValue, options?: Partial): StreamTicksResponse; static fromJsonString(jsonString: string, options?: Partial): StreamTicksResponse; static equals(a: StreamTicksResponse | PlainMessage | undefined, b: StreamTicksResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetPowerModeRequest */ export declare class SetPowerModeRequest extends Message { /** * name of board * * @generated from field: string name = 1; */ name: string; /** * Requested power mode * * @generated from field: viam.component.board.v1.PowerMode power_mode = 2; */ powerMode: PowerMode; /** * Requested duration to stay in `power_mode` * * @generated from field: optional google.protobuf.Duration duration = 3; */ duration?: Duration; /** * Additional arguments to the method * * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetPowerModeRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetPowerModeRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetPowerModeRequest; static fromJsonString(jsonString: string, options?: Partial): SetPowerModeRequest; static equals(a: SetPowerModeRequest | PlainMessage | undefined, b: SetPowerModeRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.board.v1.SetPowerModeResponse */ export declare class SetPowerModeResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.board.v1.SetPowerModeResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetPowerModeResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetPowerModeResponse; static fromJsonString(jsonString: string, options?: Partial): SetPowerModeResponse; static equals(a: SetPowerModeResponse | PlainMessage | undefined, b: SetPowerModeResponse | PlainMessage | undefined): boolean; }