1 | /**
|
2 | * Partitions the enumerable properties of an object into two objects, given a
|
3 | * whitelist `Set` for the first object. This is comparable to
|
4 | * `whitelistObjectKeys`, but eventually keeping all the keys. Returns a tuple
|
5 | * of objects `[first, second]`.
|
6 | */
|
7 | declare function partitionObjectByKey(source: object, whitelist: Set<string>): [object, object];
|
8 |
|
9 | declare namespace partitionObjectByKey {}
|
10 |
|
11 | export = partitionObjectByKey;
|