import { FilterImpl } from '../template'; import type { Scope } from '../context'; export declare const join: (this: unknown, v: any[], arg: string) => any; export declare const last: (this: unknown, v: any) => any; export declare const first: (this: unknown, v: any) => any; export declare const reverse: (this: unknown, v: any[]) => any; export declare function sort(this: FilterImpl, arr: T[], property?: string): IterableIterator; export declare function sort_natural(this: FilterImpl, input: T[], property?: string): any[]; export declare const size: (v: string | any[]) => number; export declare function map(this: FilterImpl, arr: Scope[], property: string): IterableIterator; export declare function sum(this: FilterImpl, arr: Scope[], property?: string): IterableIterator; export declare function compact(this: FilterImpl, arr: T[]): any[]; export declare function concat(this: FilterImpl, v: T1[], arg?: T2[]): (T1 | T2)[]; export declare function push(this: FilterImpl, v: T[], arg: T): T[]; export declare function unshift(this: FilterImpl, v: T[], arg: T): T[]; export declare function pop(v: T[]): T[]; export declare function shift(this: FilterImpl, v: T[]): T[]; export declare function slice(this: FilterImpl, v: T[] | string, begin: number, length?: number): T[] | string; export declare function where(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator; export declare function reject(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator; export declare function where_exp(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator; export declare function reject_exp(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator; export declare function group_by(this: FilterImpl, arr: T[], property: string): IterableIterator; export declare function group_by_exp(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator; export declare function has(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator; export declare function has_exp(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator; export declare function find_index(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator; export declare function find_index_exp(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator; export declare function find(this: FilterImpl, arr: T[], property: string, expected?: any): IterableIterator; export declare function find_exp(this: FilterImpl, arr: T[], itemName: string, exp: string): IterableIterator; export declare function uniq(this: FilterImpl, arr: T[]): T[]; export declare function sample(this: FilterImpl, v: T[] | string, count?: number): T | string | (T | string)[];