import { AsyncSequence } from "../../sequency"; export declare class Partition { /** * Evaluates the given `predicate` for each element of the sequence and assorts each element into one of two lists * according to the result of the predicate. Returns both lists as an object. * * @param {(value: T) => Promise | boolean} predicate * @returns {Promise<{true: T[]; false: T[]}>} */ partition(this: AsyncSequence, predicate: (value: T) => Promise | boolean): Promise<{ true: T[]; false: T[]; }>; }