/** * Partitions an array given a predicate. All elements satisfying the predicate * are part of the first returned array, and all elements that don't are in the * second. */ declare function partitionArray( array: Tv[], predicate: (value: Tv, index: number, array: Tv[]) => boolean, context?: any, ): [Tv[], Tv[]]; declare namespace partitionArray {} export = partitionArray;