declare function partition<T = any>(arr: T[], fn: (val: T, index: number, arr: T[]) => boolean): IterableIterator<any>;

export { partition };
