export type PredicateFn = (existing: T, upcoming: T) => boolean; export declare function populateArray(a: T, b: T, predicate: PredicateFn, method?: "push" | "unshift"): T; export declare function cleanArray(a: T, b: T, predicate: PredicateFn): T;