export declare const ExtraStatusCodeBits: Readonly<{ StructureChanged: number; SemanticChanged: number; InfoTypeDataValue: number; LimitLow: number; LimitHigh: number; LimitConstant: number; Overflow: number; HistorianCalculated: number; HistorianInterpolated: number; HistorianPartial: number; HistorianExtraData: number; HistorianMultiValue: number; }>; /** * a particular StatusCode , with it's value , name and description */ export declare abstract class StatusCode { /** * returns status code value in numerical form, including extra bits */ abstract get value(): number; /** * * status code by name, (including extra bits in textual forms) */ abstract get name(): string; /** * return the long description of the status code */ abstract get description(): string; get valueOf(): number; toString(): string; checkBit(mask: number): boolean; /** * checks if any of the mask's bits is present in the value * @param mask the bit mask */ checkAnyBit(mask: number): boolean; /** returns true if the overflow bit is set */ get hasOverflowBit(): boolean; /** returns true if the semanticChange bit is set */ get hasSemanticChangedBit(): boolean; /** returns true if the structureChange bit is set */ get hasStructureChangedBit(): boolean; isNot(other: StatusCode): boolean; equals(other: StatusCode): boolean; toJSON(): any; toJSONFull(): any; } export declare class ConstantStatusCode extends StatusCode { private readonly _value; private readonly _description; private readonly _name; /** * @param options * @param options * @param options.value * @param options.description * @param options.name * */ constructor(options: { value: number; description: string; name: string; }); get value(): number; get name(): string; get description(): string; } export declare class ModifiableStatusCode extends StatusCode { private readonly _base; private _extraBits; constructor(options: { base: StatusCode; extraBits?: number; }); get value(): number; get name(): string; get description(): string; set(bit: string | number): void; unset(bit: string | number): void; private _getExtraName; } //# sourceMappingURL=status_code.d.ts.map