UNPKG

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