UNPKG

500 BTypeScriptView Raw
1import { Expression } from '../render/expression';
2import { Filter } from './filter/filter';
3import { Context } from '../context/context';
4import { Liquid } from '../liquid';
5export declare class Value {
6 readonly filters: Filter[];
7 readonly initial: Expression;
8 /**
9 * @param str the value to be valuated, eg.: "foobar" | truncate: 3
10 */
11 constructor(str: string, liquid: Liquid);
12 value(ctx: Context, lenient: boolean): Generator<unknown, unknown, unknown>;
13}