/** * Remove all elements from the given array that return false from the given * predicate `filter`. */ export declare function filterInPlace(arr: T[], filter: (t: T) => boolean): T[]; export declare function count(arr: T[], predicate: (t: T, idx: number) => boolean): number;