UNPKG

561 BTypeScriptView Raw
1import { Context } from '../context';
2import { FilterImplOptions } from './filter-impl-options';
3import { FilterArg } from '../parser/filter-arg';
4import { Liquid } from '../liquid';
5import { FilterToken } from '../tokens';
6export declare class Filter {
7 name: string;
8 args: FilterArg[];
9 readonly raw: boolean;
10 private handler;
11 private liquid;
12 private token;
13 constructor(token: FilterToken, options: FilterImplOptions | undefined, liquid: Liquid);
14 render(value: any, context: Context): IterableIterator<unknown>;
15}