import type { Arrayable } from "./types"; import type { HasProps } from "./has_props"; import type { Signal0 } from "./signaling"; import type { ColumnarDataSource } from "../models/sources/columnar_data_source"; export type Transform = { compute(x: In): Out; v_compute(xs: Arrayable): Arrayable; change: Signal0; }; export type ScalarExpression = { compute(source: ColumnarDataSource): Out; change: Signal0; }; export type VectorExpression = { v_compute(source: ColumnarDataSource): Arrayable; change: Signal0; }; export type Expression = ScalarExpression | VectorExpression; import type { Serializable } from "./serialization"; export type Value = Partial & { value: T; }; export type Field = Partial & { field: string; }; export type Expr = Partial & { expr: Expression; }; export type Scalar = Value & Transformed; export type Vector = (Value | Field | Expr) & Transformed; export type Dimensional = T & { units?: U; }; export type Transformed = { transform?: Transform; }; export declare function isValue(obj: unknown): obj is Value; export declare function isField(obj: unknown): obj is Field; export declare function isExpr(obj: unknown): obj is Expr; export declare function isVectorized(obj: unknown): obj is Vector; //# sourceMappingURL=vectorization.d.ts.map