import { SquiggleDeserializationVisitor } from "../serialization/squiggle.js"; import { DictShape } from "./TDict.js"; import { IntrinsicValueType } from "./TIntrinsic.js"; import { Type } from "./Type.js"; export type SerializedType = { kind: "Any"; genericName?: string; } | { kind: "Intrinsic"; valueType: IntrinsicValueType; } | { kind: "Array"; itemType: number; } | { kind: "Tuple"; types: number[]; } | { kind: "Dict"; shape: Record & { type: number; }>; } | { kind: "DictWithArbitraryKeys"; itemType: number; } | { kind: "Union"; types: number[]; } | { kind: "NumberRange"; min: number; max: number; } | { kind: "DateRange"; min: number; max: number; } | { kind: "Dist"; distClass?: "Symbolic" | "PointSet" | "SampleSet"; } | { kind: "TypedLambda"; inputs: number[]; output: number; }; export declare function deserializeType(type: SerializedType, visit: SquiggleDeserializationVisitor): Type; //# sourceMappingURL=serialize.d.ts.map