export declare function partition(source: T[], predicate: (_: T, idx: number, array: T[]) => boolean): [T[], T[]];