import Condition from './Condition'; import Value from './Value'; import { WithName } from './named'; export interface ValueData { name?: string; type?: string; } export default class ValueImpl implements Value { name: string; type: string; constructor({ name, type }?: ValueData); eq(rhs: Value): Condition & WithName; lt(rhs: Value): Condition & WithName; gt(rhs: Value): Condition & WithName; /** * Gets the value of this Value object. * @return the current value */ get(): Promise; /** * Applies the given value to this Value object. * @param v The value to apply */ set(_v: T): void; }