/** * Entries is a list of key-value pairs, with unique keys. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/Entries) */ declare type Entries = Iterable<[K, V]>; /** * ILists is a pair of key list and value list, with unique keys. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/ILists) */ declare type ILists = [Iterable, Iterable]; /** * Handle reading of a single value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/ReadFunction) * @returns value */ declare type ReadFunction = () => T; /** * Handle combining of two values. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/CombineFunction) * @param a a value * @param b another value * @returns combined value */ declare type CombineFunction = (a: T, b: T) => T; /** * Handle comparison of two values. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/CompareFunction) * @param a a value * @param b another value * @returns ab: +ve */ declare type CompareFunction = (a: T, b: T) => number; /** * Handle processing of values in ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/ProcessFunction) * @param v value in ilists * @param k key of value in ilists * @param x ilists containing the value */ declare type ProcessFunction = (v: V, k: K, x: ILists) => void; /** * Handle selection of values in ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/TestFunction) * @param v value in ilists * @param k key of value in ilists * @param x ilists containing the value * @returns selected? */ declare type TestFunction = (v: V, k: K, x: ILists) => boolean; /** * Handle transformation of a value to another. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/MapFunction) * @param v value in ilists * @param k key of value in ilists * @param x ilists containing the value * @returns transformed value */ declare type MapFunction = (v: V, k: K, x: ILists) => W; /** * Handle reduction of multiple values into a single value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/ReduceFunction) * @param acc accumulator (temporary result) * @param v value in ilists * @param k key of value in ilists * @param x ilists containing the value * @returns reduced value */ declare type ReduceFunction = (acc: W, v: V, k: K, x: ILists) => W; /** * Handle ending of combined ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/EndFunction) * @param dones iįµ—Ź° ilists done? * @returns combined ilists done? */ declare type EndFunction = (dones: boolean[]) => boolean; /** * Check if value is ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/is) * @param v value * @returns v is ilists? */ declare function is(v: any): v is ILists; /** * List all keys. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/keys) * @param x ilists * @returns kā‚€, kā‚, ... | kįµ¢ āˆˆ x[0] */ declare function keys(x: ILists): Iterable; /** * List all values. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/values) * @param x ilists * @returns vā‚€, vā‚, ... | vįµ¢ āˆˆ x[1] */ declare function values(x: ILists): Iterable; /** * List all key-value pairs. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/entries) * @param x ilists * @returns [kā‚€, vā‚€], [kā‚, vā‚], ... | kįµ¢ āˆˆ x[0]; vįµ¢ āˆˆ x[1] */ declare function entries(x: ILists): Entries; /** * Convert ilists to entries. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/fromEntries) * @param x entries * @returns x as ilists */ declare function fromEntries(x: Entries): ILists; /** * Find the size of ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/size) * @param x ilists * @returns |x| */ declare function size(x: ILists): number; /** * Check if ilists is empty. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/isEmpty) * @param x ilists * @returns |x| = 0? */ declare function isEmpty(x: ILists): boolean; /** * Compare two ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/compare) * @param x ilists * @param y another ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns x=y: 0, otherwise: -ve/+ve */ declare function compare(x: ILists, y: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): number; /** * Check if two ilists are equal. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/isEqual) * @param x ilists * @param y another ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns x=y? */ declare function isEqual(x: ILists, y: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): boolean; /** * Get value at key. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/get) * @param x ilists * @param k key * @returns x[k] */ declare function get(x: ILists, k: K): V; /** * Gets values at keys. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/getAll) * @param x ilists * @param ks keys * @returns x[kā‚€], x[kā‚], ... | [kā‚€, kā‚, ...] = ks */ declare function getAll(x: ILists, ks: K[]): Iterable; /** * Get value at path in nested ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/getPath) * @param x nested ilists * @param p path * @returns x[kā‚€][kā‚][...] | [kā‚€, kā‚, ...] = p */ declare function getPath(x: ILists, p: K[]): any; /** * Check if nested ilists has a path. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/hasPath) * @param x nested ilists * @param p search path * @returns x[kā‚€][kā‚][...] exists? | [kā‚€, kā‚, ...] = p */ declare function hasPath(x: ILists, p: T[]): boolean; /** * Set value at key. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/set) * @param x ilists * @param k key * @param v value * @returns x' | x' = x; x'[k] = v */ declare function set(x: ILists, k: K, v: V): ILists; /** * Exchange two values. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/swap) * @param x ilists * @param k a key * @param l another key * @returns x' | x' = x; x'[k] = x[l]; x'[l] = x[k] */ declare function swap(x: ILists, k: K, l: K): ILists; /** * Remove value at key. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/remove) * @param x ilists * @param k key * @returns x - [k, v] | v = x[k] */ declare function remove(x: ILists, k: K): ILists; /** * Get first entry from ilists (default order). * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/head) * @param x ilists * @param ed default entry * @returns [kā‚€, vā‚€] if x ā‰  Ī¦ else ed | [kā‚€, vā‚€] āˆˆ x */ declare function head(x: ILists, ed?: [K, V]): [K, V]; /** * Get ilists without its first entry (default order). * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/tail) * @param x ilists * @returns x \\ \{[kā‚€, vā‚€]\} if x ā‰  Ī¦ else x | [kā‚€, vā‚€] āˆˆ x */ declare function tail(x: ILists): ILists; /** * Keep first n entries only (default order). * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/take) * @param x ilists * @param n number of entries [1] * @returns \{[kā‚€, vā‚€], [kā‚, vā‚], ...\} | [kįµ¢, vįµ¢] āˆˆ x and |\{[kā‚€, vā‚€], [kā‚, vā‚], ...\}| ā‰¤ n */ declare function take(x: ILists, n?: number): ILists; /** * Remove first n entries (default order). * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/drop) * @param x a map * @param n number of entries [1] * @returns \{[kā‚™, vā‚™], [kā‚™ā‚Šā‚, vā‚™ā‚Šā‚], ...\} | [kįµ¢, vįµ¢] āˆˆ x and |\{[kā‚™, vā‚™], [kā‚™ā‚Šā‚, vā‚™ā‚Šā‚], ...\}| ā‰¤ max(|x| - n, 0) */ declare function drop(x: ILists, n?: number): ILists; /** * Count values which satisfy a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/count) * @param x ilists * @param ft test function (v, k, x) * @returns Ī£tįµ¢ | tįµ¢ = 1 if ft(vįµ¢) else 0; [kįµ¢, vįµ¢] āˆˆ x */ declare function count(x: ILists, ft: TestFunction): number; /** * Count occurrences of values. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/countAs) * @param x ilists * @param fm map function (v, k, x) * @returns Map \{value ā‡’ count\} */ declare function countAs(x: ILists, fm?: MapFunction | null): Map; /** * Find smallest value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/min) * @param x ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns v | v ā‰¤ vįµ¢; [kįµ¢, vįµ¢] āˆˆ x */ declare function min(x: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): V; /** * Find smallest entry. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/minEntry) * @param x ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns [min_key, min_value] */ declare function minEntry(x: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): [K, V]; /** * Find largest value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/max) * @param x ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns v | v ā‰„ vįµ¢; [kįµ¢, vįµ¢] āˆˆ x */ declare function max(x: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): V; /** * Find largest entry. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/maxEntry) * @param x ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns [max_key, max_value] */ declare function maxEntry(x: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): [K, V]; /** * Find smallest and largest values. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/range) * @param x ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns [min_value, max_value] */ declare function range(x: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): [V, V]; /** * Find smallest and largest entries. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/rangeEntries) * @param x ilists * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns [min_entry, max_entry] */ declare function rangeEntries(x: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): [[K, V], [K, V]]; /** * List all possible subsets. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/subsets) * @param x ilists * @param n number of entries in each subset [-1 ā‡’ any] * @returns entries selected by bit from 0..2^|x| if n<0; only of length n otherwise */ declare function subsets(x: ILists, n?: number): Iterable>; /** * Pick an arbitrary key. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/randomKey) * @param x ilists * @param fr random number generator ([0, 1)) * @returns kįµ¢ | kįµ¢ āˆˆ x[0] */ declare function randomKey(x: ILists, fr?: ReadFunction): K; /** * Pick an arbitrary value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/randomValue) * @param x ilists * @param fr random number generator ([0, 1)) * @returns vįµ¢ | vįµ¢ āˆˆ x[1] */ declare function randomValue(x: ILists, fr?: ReadFunction): V; /** * Pick an arbitrary entry. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/randomEntry) * @param x ilists * @param fr random number generator ([0, 1)) * @returns [kįµ¢, vįµ¢] | kįµ¢ āˆˆ x[0]; vįµ¢ āˆˆ x[1] */ declare function randomEntry(x: ILists, fr?: ReadFunction): [K, V]; /** * Pick an arbitrary subset. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/randomSubset) * @param x ilists * @param n number of entries [-1 ā‡’ any] * @param fr random number generator ([0, 1)) * @returns [[kįµ¢, kā±¼, ...], [vįµ¢, vā±¼, ...]] | kįµ¢, kā±¼, ... āˆˆ x[0]; vįµ¢, vā±¼, ... āˆˆ x[1]; |[kįµ¢, kā±¼, , ...]| = |x| if n<0 else n */ declare function randomSubset(x: ILists, n?: number, fr?: ReadFunction): ILists; /** * Check if ilists has a key. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/has) * @param x ilists * @param k search key * @returns k āˆˆ keys(x)? */ declare function has(x: ILists, k: K): boolean; /** * Check if ilists has a value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/hasValue) * @param x ilists * @param v search value * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns v āˆˆ values(x)? */ declare function hasValue(x: ILists, v: V, fc?: CompareFunction | null, fm?: MapFunction | null): boolean; /** * Check if ilists has an entry. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/hasEntry) * @param x ilists * @param e search entry * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns k āˆˆ x[0]; v āˆˆ x[1]; k ā‡’ v? | [k, v] = e */ declare function hasEntry(x: ILists, e: [K, V], fc?: CompareFunction | null, fm?: MapFunction | null): boolean; /** * Check if ilists has a subset. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/hasSubset) * @param x ilists * @param y search subset * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns y āŠ† x? */ declare function hasSubset(x: ILists, y: ILists, fc?: CompareFunction | null, fm?: MapFunction | null): boolean; /** * Find first value passing a test (default order). * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/find) * @param x ilists * @param ft test function (v, k, x) * @returns first v | ft(v) = true; [k, v] āˆˆ x */ declare function find(x: ILists, ft: TestFunction): V; /** * Find values passing a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/findAll) * @param x ilists * @param ft test function (v, k, x) * @returns vā‚€, vā‚, ... | ft(vįµ¢) = true; [kįµ¢, vįµ¢] āˆˆ x */ declare function findAll(x: ILists, ft: TestFunction): Iterable; /** * Finds key of an entry passing a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/search) * @param x ilists * @param ft test function (v, k, x) * @returns key of entry */ declare function search(x: ILists, ft: TestFunction): K; /** * Find keys of entries passing a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/searchAll) * @param x ilists * @param ft test function (v, k, x) * @returns keys of entries */ declare function searchAll(x: ILists, ft: TestFunction): Iterable; /** * Find a key with given value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/searchValue) * @param x ilists * @param v search value * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns key of value */ declare function searchValue(x: ILists, v: V, fc?: CompareFunction | null, fm?: MapFunction | null): K; /** * Find keys with given value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/searchValueAll) * @param x ilists * @param v search value * @param fc compare function (a, b) * @param fm map function (v, k, x) * @returns keys of value */ declare function searchValueAll(x: ILists, v: V, fc?: CompareFunction | null, fm?: MapFunction | null): Iterable; /** * Call a function for each value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/forEach) * @param x ilists * @param fp process function (v, k, x) */ declare function forEach(x: ILists, fc: ProcessFunction): void; /** * Check if any value satisfies a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/some) * @param x ilists * @param ft test function (v, k, x) * @returns true if ft(vįµ¢) = true for some [kįµ¢, vįµ¢] āˆˆ x */ declare function some(x: ILists, ft?: TestFunction | null): boolean; /** * Check if all values satisfy a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/every) * @param x entries * @param ft test function (v, k, x) * @returns true if ft(vįµ¢) = true for every [kįµ¢, vįµ¢] āˆˆ x */ declare function every(x: ILists, ft: TestFunction): boolean; /** * Transform values of entries. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/map) * @param x ilists * @param fm map function (v, k, x) * @returns [kā‚€, fm(vā‚€)], [kā‚, fm(vā‚)], ... | [kįµ¢, vįµ¢] āˆˆ x */ declare function map(x: ILists, fm: MapFunction): any[][]; /** * Reduce values of entries to a single value. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/reduce) * @param x ilists * @param fr reduce function (acc, v, k, x) * @param acc initial value * @returns fr(fr(acc, vā‚€), vā‚)... | fr(acc, vā‚€) = vā‚€ if acc not given */ declare function reduce(x: ILists, fr: ReduceFunction, acc?: V | W): V | W; /** * Keep entries which pass a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/filter) * @param x ilists * @param ft test function (v, k, x) * @returns [kā‚€, vā‚€], [kā‚, vā‚], ... | ft(vįµ¢) = true; [kįµ¢, vįµ¢] āˆˆ x */ declare function filter(x: ILists, ft: TestFunction): ILists; /** * Keep entries with given keys. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/filterAt) * @param x ilists * @param ks keys * @returns [kā‚€, vā‚€], [kā‚, vā‚], ... | kįµ¢ āˆˆ ks; [kįµ¢, vįµ¢] āˆˆ x */ declare function filterAt(x: ILists, ks: K[]): ILists; /** * Discard entries which pass a test. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/reject) * @param x ilists * @param ft test function (v, k, x) * @returns [kā‚€, vā‚€], [kā‚, vā‚], ... | ft(vįµ¢) = false; [kįµ¢, vįµ¢] āˆˆ x */ declare function reject(x: ILists, ft: TestFunction): ILists; /** * Discard entries with given keys. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/rejectAt) * @param x ilists * @param ks keys * @returns [kā‚€, vā‚€], [kā‚, vā‚], ... | kįµ¢ āˆ‰ ks; [kįµ¢, vįµ¢] āˆˆ x */ declare function rejectAt(x: ILists, ks: K[]): ILists; /** * Flatten nested ilists to given depth. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/flat) * @param x nested ilists * @param n maximum depth [-1 ā‡’ all] * @param fm map function (v, k, x) * @param ft test function for flatten (v, k, x) [is] * @returns flat ilists */ declare function flat(x: ILists, n?: number, fm?: MapFunction | null, ft?: TestFunction | null): ILists; /** * Flatten nested ilists, based on map function. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/flatMap) * @param x nested ilists * @param fm map function (v, k, x) * @param ft test function for flatten (v, k, x) [is] * @returns flat ilists */ declare function flatMap(x: ILists, fm?: MapFunction | null, ft?: TestFunction | null): ILists; /** * Combine matching entries from all ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/zip) * @param xs all ilists * @param fm map function (vs, k) * @param ft end function (dones) [some] * @param vd default value * @returns fm([xā‚€[kā‚€], xā‚[kā‚€], ...]), fm([xā‚€[kā‚], xā‚[kā‚], ...]), ... */ declare function zip(xs: ILists[], fm?: MapFunction | null, ft?: EndFunction, vd?: V): ILists; /** * Segregate values by test result. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/partition) * @param x ilists * @param ft test function (v, k, x) * @returns [satisfies, doesnt] */ declare function partition(x: ILists, ft: TestFunction): [ILists, ILists]; /** * Segregate entries by similarity. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/partitionAs) * @param x entries * @param fm map function (v, k, x) * @returns Map \{key ā‡’ entries\} */ declare function partitionAs(x: ILists, fm?: MapFunction | null): Map>; /** * Break ilists into chunks of given size. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/chunk) * @param x ilists * @param n chunk size [1] * @param s chunk step [n] * @returns [x[0..n], x[s..s+n], x[2s..2s+n], ...] */ declare function chunk(x: ILists, n?: number, s?: number): ILists[]; /** * Append entries from all ilists, preferring last. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/concat) * @param xs all ilists * @returns xā‚€ āˆŖ xā‚ āˆŖ ... | [xā‚€, xā‚, ...] = xs */ declare function concat(...xs: ILists[]): ILists; /** * Join ilists together into a string. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/join) * @param x ilists * @param sep separator [,] * @param asc associator [=] * @returns "$\{kā‚€\}=$\{vā‚€\},$\{kā‚\}=$\{vā‚\}..." | [kįµ¢, vįµ¢] āˆˆ x */ declare function join(x: ILists, sep?: string, asc?: string): string; /** * Check if ilists have no common keys. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/isDisjoint) * @param x ilists * @param y another ilists * @returns x āˆ© y = Ī¦? */ declare function isDisjoint(x: ILists, y: ILists): boolean; /** * Obtain keys present in any ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/unionKeys) * @param xs all ilists * @returns \{kā‚€, kā‚, ...\} | [kįµ¢, vįµ¢] āˆˆ xā‚€ āˆŖ xā‚, ...; [xā‚€, xā‚, ...] = xs */ declare function unionKeys(...xs: ILists[]): Set; /** * Obtain entries present in any ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/union) * @param x ilists * @param y another ilists * @param fc combine function (a, b) * @returns x āˆŖ y = \{[kįµ¢, vįµ¢] | [kįµ¢, vįµ¢] āˆˆ x or [kįµ¢, vįµ¢] āˆˆ y\} */ declare function union(x: ILists, y: ILists, fc?: CombineFunction | null): ILists; /** * Obtain entries present in both ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/intersection) * @param x ilists * @param y another ilists * @param fc combine function (a, b) * @returns x āˆ© y = \{[kįµ¢, vįµ¢] | [kįµ¢, vįµ¢] āˆˆ x and [kįµ¢, vįµ¢] āˆˆ y\} */ declare function intersection(x: ILists, y: ILists, fc?: CombineFunction | null): ILists; /** * Obtain entries not present in another ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/difference) * @param x ilists * @param y another ilists * @returns x = x - y = \{[kįµ¢, vįµ¢] | [kįµ¢, vįµ¢] āˆˆ x, [kįµ¢, *] āˆ‰ y\} */ declare function difference(x: ILists, y: ILists): ILists; /** * Obtain entries not present in both ilists. * [šŸ“˜](https://github.com/nodef/extra-ilists/wiki/symmetricDifference) * @param x ilists * @param y another ilists * @returns x = x-y āˆŖ y-x */ declare function symmetricDifference(x: ILists, y: ILists): ILists; export { CombineFunction, CompareFunction, EndFunction, Entries, ILists, MapFunction, ProcessFunction, ReadFunction, ReduceFunction, TestFunction, chunk, compare, concat, count, countAs, difference, drop, entries, randomEntry as entry, every, filter, filterAt, find, findAll, flat, flatMap, forEach, fromEntries, get, getAll, getPath, has, hasEntry, hasPath, hasSubset, hasValue, head, intersection, is, isDisjoint, isEmpty, isEqual, join, randomKey as key, keys, size as length, map, max, maxEntry, min, minEntry, partition, partitionAs, randomEntry, randomKey, randomSubset, randomValue, range, rangeEntries, reduce, reject, rejectAt, remove, search, searchAll, searchValue, searchValueAll, set, size, some, randomSubset as subset, subsets, swap, symmetricDifference, tail, take, union, unionKeys, randomValue as value, values, zip };