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