import {ReactiveExpression} from "../ReactiveExpression";
import ObservedBoolean from "../../../ObservedBoolean";
import Vector1 from "../../../../geom/Vector1";

export class ReactiveReference<T> extends ReactiveExpression<T> {
    constructor(name: string)

    static from<T>(source: ReactiveExpression<T>, name?: string): ReactiveReference<T>
    static from(source: ObservedBoolean, name?: string): ReactiveReference<boolean>
    static from(source: Vector1, name?: string): ReactiveReference<number>
}
