/** * Partitions an array into two arrays based on a predicate function * @example * const result = partitionArray([1, 2, 3, 4, 5], (x) => x % 2 === 0) * * console.log(result) * * // output: [[2, 4], [1, 3, 5]] * * @param {T} input input array of type T * @param {(T) => boolean} predicate function to use when split array elements */ export declare const partitionArray: (input: T[], predicate: (T: any) => boolean) => [T[], T[]]; //# sourceMappingURL=partition-array.d.ts.map