import { LocationRange } from "../ast/types.js"; import { SquiggleDeserializationVisitor, SquiggleSerializationVisitor } from "../serialization/squiggle.js"; import { result } from "../utility/result.js"; import { Value } from "./index.js"; import { type VBool } from "./VBool.js"; import { VSpecification } from "./VSpecification.js"; import { type VString } from "./VString.js"; export type ValueTagsType = { name?: VString; doc?: VString; showAs?: Value; numberFormat?: VString; dateFormat?: VString; hidden?: VBool; notebook?: VBool; exportData?: { sourceId: string; path: string[]; }; startOpenState?: VString; location?: LocationRange; specification?: VSpecification; }; type ValueTagsTypeName = keyof ValueTagsType; export type SerializedValueTags = { [K in Exclude]?: number; } & Pick; export declare class ValueTags { value: ValueTagsType; constructor(value: ValueTagsType); isEmpty(): boolean; toString(): string; omit(keys: ValueTagsTypeName[]): ValueTags; omitUsingStringKeys(keys: string[]): result; merge(other: ValueTagsType): ValueTags; name(): string | undefined; doc(): string | undefined; showAs(): Value | undefined; numberFormat(): string | undefined; dateFormat(): string | undefined; hidden(): boolean | undefined; notebook(): boolean | undefined; location(): LocationRange | undefined; specification(): VSpecification | undefined; startOpenState(): "open" | "closed" | undefined; exportData(): { sourceId: string; path: string[]; } | undefined; serialize(visit: SquiggleSerializationVisitor): SerializedValueTags; static deserialize(node: SerializedValueTags, visit: SquiggleDeserializationVisitor): ValueTags; } export {}; //# sourceMappingURL=valueTags.d.ts.map