import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { Quaternion } from "./foxglove/Quaternion"; import { Duration } from "./google/protobuf/duration"; export interface TimestampedBytes { $type: "keelson.TimestampedBytes"; timestamp: Date | undefined; value: Uint8Array; } export interface TimestampedDouble { $type: "keelson.TimestampedDouble"; timestamp: Date | undefined; value: number; } export interface TimestampedFloat { $type: "keelson.TimestampedFloat"; timestamp: Date | undefined; value: number; } export interface TimestampedInt { $type: "keelson.TimestampedInt"; timestamp: Date | undefined; value: number; } export interface TimestampedInt64 { $type: "keelson.TimestampedInt64"; timestamp: Date | undefined; value: number; } export interface TimestampedString { $type: "keelson.TimestampedString"; timestamp: Date | undefined; value: string; } export interface TimestampedBool { $type: "keelson.TimestampedBool"; timestamp: Date | undefined; value: boolean; } export interface TimestampedDuration { $type: "keelson.TimestampedDuration"; timestamp: Date | undefined; value: Duration | undefined; } export interface TimestampedTimestamp { $type: "keelson.TimestampedTimestamp"; timestamp: Date | undefined; value: Date | undefined; } export interface TimestampedQuaternion { $type: "keelson.TimestampedQuaternion"; timestamp: Date | undefined; /** Quaternion is defined in foxglove/Quaternion.proto */ value: Quaternion | undefined; } /** * Anchors a scalar value to an end-of-interval timestamp plus the interval duration. * Use for windowed aggregates such as max wind speed over a 10-minute window. */ export interface TimestampedFloatPeriod { $type: "keelson.TimestampedFloatPeriod"; timestamp: Date | undefined; value: number; period: Duration | undefined; } export declare const TimestampedBytes: MessageFns; export declare const TimestampedDouble: MessageFns; export declare const TimestampedFloat: MessageFns; export declare const TimestampedInt: MessageFns; export declare const TimestampedInt64: MessageFns; export declare const TimestampedString: MessageFns; export declare const TimestampedBool: MessageFns; export declare const TimestampedDuration: MessageFns; export declare const TimestampedTimestamp: MessageFns; export declare const TimestampedQuaternion: MessageFns; export declare const TimestampedFloatPeriod: 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 Exclude]?: 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 | "$type">]: never; }; interface MessageFns { readonly $type: V; 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; } export {};