/** * Impact/severity level of a status message. * `None` (empty string) represents "no/unknown severity". */ export declare const Severity: { readonly None: ""; readonly Impact: "impact"; readonly Informational: "informational"; readonly NonImpact: "non-impact"; }; export type Severity = (typeof Severity)[keyof typeof Severity]; /** All severity values, including the empty {@link Severity.None} option. */ export declare const SEVERITY_VALUES: ("" | "impact" | "informational" | "non-impact")[]; /** Concrete impact levels (excludes the empty {@link Severity.None}). */ export declare const IMPACT_LEVELS: Severity[]; /** Type guard: whether the value is a known {@link Severity} (including none). */ export declare const isSeverity: (value: string) => value is Severity; /** Type guard: whether the value is a concrete impact level (excludes none). */ export declare const isImpactLevel: (value: string) => value is Severity; /** * Error categories reported by the components. * `None` (empty string) is the "no error" sentinel stored in the error state. */ export declare const ErrorType: { readonly None: ""; readonly Socket: "Socket"; readonly API: "API"; readonly Token: "Token"; readonly Controller: "Controller"; readonly Sensecloud: "Sensecloud"; }; export type ErrorType = (typeof ErrorType)[keyof typeof ErrorType]; /** * Object type derived from the access token. Values are the domain names used * throughout the components. */ export declare const ObjectType: { readonly Internal: "internal"; readonly Installation: "installation"; readonly External: "external"; }; export type ObjectType = (typeof ObjectType)[keyof typeof ObjectType]; /** * The short `otype` codes as they appear in the JWT. */ export declare const TokenOtype: { readonly Internal: "int"; readonly Installation: "inst"; readonly External: "ext"; }; export type TokenOtype = (typeof TokenOtype)[keyof typeof TokenOtype]; /** * Maps the short `otype` codes from the JWT to the domain {@link ObjectType}. * Typed as `Record` so an unknown code maps to `undefined` * (matching the previous switch behaviour). */ export declare const TOKEN_OTYPE_TO_OBJECT_TYPE: Record; /** * The "active" flag of an encoded status message code (position 3 of the * `identifier:timestamp:active` triplet). */ export declare const StatusCodeState: { readonly Inactive: 0; readonly Active: 1; }; export type StatusCodeState = (typeof StatusCodeState)[keyof typeof StatusCodeState]; /** * Selects which label set a status item renders. */ export declare const LabelType: { readonly Default: "default"; readonly Short: "short"; }; export type LabelType = (typeof LabelType)[keyof typeof LabelType]; /** * UI-only elevator animation direction used by the 3D scene. Distinct from the * API {@link MovementState} (`"U"`/`"D"`) in `sensors.ts`. */ export declare const ElevatorDirection: { readonly Up: "up"; readonly Down: "down"; }; export type ElevatorDirection = (typeof ElevatorDirection)[keyof typeof ElevatorDirection];