declare type Expression = (data: any) => boolean; declare type SimplePath = { path: string; filter: null; subpath: null; }; declare type FilterPath = { path: string; filter: Expression; subpath: string | null; }; export declare function compilePath(input: string): SimplePath | FilterPath; export declare function compileFilter(input: string): (data: any) => boolean; export declare function parseAttributePath(input: string): string[]; export declare function compileSorter(input: string): (a: any, b: any) => -1 | 0 | 1; export {};