1 | import type { Context } from '../context';
|
2 | import type { Liquid } from '../liquid';
|
3 | import type { FilterToken } from '../tokens';
|
4 | export interface FilterImpl {
|
5 | context: Context;
|
6 | token: FilterToken;
|
7 | liquid: Liquid;
|
8 | }
|
9 | export type FilterHandler = (this: FilterImpl, value: any, ...args: any[]) => any;
|
10 | export interface FilterOptions {
|
11 | handler: FilterHandler;
|
12 | raw: boolean;
|
13 | }
|
14 | export type FilterImplOptions = FilterHandler | FilterOptions;
|