/** * Unless explicitly stated otherwise all files in this repository are licensed under the MIT License. * * This product includes software developed at Datadog (https://www.datadoghq.com/ Copyright 2022 Datadog, Inc. */ type Numeric = number | bigint; export declare const emptyTableToken: unique symbol; export declare class StringTable { #private; strings: string[]; constructor(tok?: typeof emptyTableToken); get encodedLength(): number; _encodeToBuffer(buffer: Uint8Array, offset: number): number; encode(buffer?: Uint8Array): Uint8Array; static _encodeStringFromUtf8(stringBuffer: Uint8Array | Buffer): Uint8Array; static _encodeString(string: string): Uint8Array; dedup(string: string): number; _decodeString(buffer: Uint8Array): void; } export type ValueTypeInput = { type?: Numeric; unit?: Numeric; }; export declare class ValueType { type: Numeric; unit: Numeric; static create(data: ValueTypeInput): ValueType; constructor(data: ValueTypeInput); get length(): number; _encodeToBuffer(buffer: Uint8Array, offset?: number): number; encode(buffer?: Uint8Array): Uint8Array; static decodeValue(data: ValueTypeInput, field: number, buffer: Uint8Array): void; static decode(buffer: Uint8Array): ValueType; } export type LabelInput = { key?: Numeric; str?: Numeric; num?: Numeric; numUnit?: Numeric; }; export declare class Label { key: Numeric; str: Numeric; num: Numeric; numUnit: Numeric; static create(data: LabelInput): Label; constructor(data: LabelInput); get length(): number; _encodeToBuffer(buffer: Uint8Array, offset?: number): number; encode(buffer?: Uint8Array): Uint8Array; static decodeValue(data: LabelInput, field: number, buffer: Uint8Array): void; static decode(buffer: Uint8Array): Label; } export type SampleInput = { locationId?: Array; value?: Array; label?: Array; }; export declare class Sample { locationId: Array; value: Array; label: Array