import { ReadStatType, ReadStatTypeClass } from "./types.js"; /** * A single cell value. Mirrors the C `readstat_value_t` union: numeric types * store into `num`, string types into `str`. `type` selects the interpretation. */ export declare class ReadStatValue { type: ReadStatType; tag: string; isSystemMissing: boolean; isTaggedMissing: boolean; num: number; str: string | null; constructor(type: ReadStatType); typeClass(): ReadStatTypeClass; int8Value(): number; int16Value(): number; int32Value(): number; floatValue(): number; doubleValue(): number; stringValue(): string | null; toJS(): number | string | null; } export declare function makeBlankValue(): ReadStatValue; export declare function makeBlankTaggedValue(tag: string): ReadStatValue; export declare function makeDoubleValue(d: number): ReadStatValue; export declare function makeFloatValue(f: number): ReadStatValue; export declare function makeInt8Value(i: number): ReadStatValue; export declare function makeInt16Value(i: number): ReadStatValue; export declare function makeInt32Value(i: number): ReadStatValue; export declare function makeStringValue(s: string | null): ReadStatValue;