@oscarpalmer/atoms 0.183.0 → 0.184.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -177,6 +177,14 @@ declare function isSorted<Item>(array: Item[], sorter: ArraySorter<Item>, descen
177
177
  * @returns `true` if sorted, otherwise `false`
178
178
  */
179
179
  declare function isSorted<Item>(array: Item[], descending?: boolean): boolean;
180
+ /**
181
+ * Sort an array of items using a comparison callback
182
+ * @param array Array to sort
183
+ * @param comparator Comparator to use for sorting
184
+ * @param descending Sort in descending order? _(defaults to `false`; overridden by individual sorters)_
185
+ * @returns Sorted array
186
+ */
187
+ declare function sort<Item>(array: Item[], comparator: (first: Item, second: Item) => number, descending?: boolean): Item[];
180
188
  /**
181
189
  * Sort an array of items, using multiple sorters to sort by specific values
182
190
  * @param array Array to sort
@@ -186,7 +194,7 @@ declare function isSorted<Item>(array: Item[], descending?: boolean): boolean;
186
194
  */
187
195
  declare function sort<Item>(array: Item[], sorters: Array<ArraySorter<Item>>, descending?: boolean): Item[];
188
196
  /**
189
- * Sort an array of items, using multiple sorters to sort by specific values
197
+ * Sort an array of items, using a single sorter to sort by a specific value
190
198
  * @param array Array to sort
191
199
  * @param sorter Sorter to use for sorting
192
200
  * @param descending Sort in descending order? _(defaults to `false`; overridden by individual sorters)_
package/dist/index.d.mts CHANGED
@@ -1647,6 +1647,14 @@ declare function isSorted<Item>(array: Item[], sorter: ArraySorter<Item>, descen
1647
1647
  * @returns `true` if sorted, otherwise `false`
1648
1648
  */
1649
1649
  declare function isSorted<Item>(array: Item[], descending?: boolean): boolean;
1650
+ /**
1651
+ * Sort an array of items using a comparison callback
1652
+ * @param array Array to sort
1653
+ * @param comparator Comparator to use for sorting
1654
+ * @param descending Sort in descending order? _(defaults to `false`; overridden by individual sorters)_
1655
+ * @returns Sorted array
1656
+ */
1657
+ declare function sort<Item>(array: Item[], comparator: (first: Item, second: Item) => number, descending?: boolean): Item[];
1650
1658
  /**
1651
1659
  * Sort an array of items, using multiple sorters to sort by specific values
1652
1660
  * @param array Array to sort
@@ -1656,7 +1664,7 @@ declare function isSorted<Item>(array: Item[], descending?: boolean): boolean;
1656
1664
  */
1657
1665
  declare function sort<Item>(array: Item[], sorters: Array<ArraySorter<Item>>, descending?: boolean): Item[];
1658
1666
  /**
1659
- * Sort an array of items, using multiple sorters to sort by specific values
1667
+ * Sort an array of items, using a single sorter to sort by a specific value
1660
1668
  * @param array Array to sort
1661
1669
  * @param sorter Sorter to use for sorting
1662
1670
  * @param descending Sort in descending order? _(defaults to `false`; overridden by individual sorters)_
@@ -3204,6 +3212,8 @@ type Normalizer = {
3204
3212
  declare function deburr(value: string): string;
3205
3213
  /**
3206
3214
  * Initialize a string normalizer
3215
+ *
3216
+ * Available as `initializeNormalizer` and `normalize.initialize`
3207
3217
  * @param options Normalization options
3208
3218
  * @returns Normalizer function
3209
3219
  */
@@ -3370,6 +3380,38 @@ type DiffValue<First = unknown, Second = First> = {
3370
3380
  */
3371
3381
  declare function diff<First, Second = First>(first: First, second: Second, options?: DiffOptions): DiffResult<First, Second>;
3372
3382
  //#endregion
3383
+ //#region src/value/freeze.d.ts
3384
+ /**
3385
+ * A frozen value with readonly properties _(going as deep as possible)_
3386
+ */
3387
+ type Frozen<Value extends ArrayOrPlainObject> = { readonly [Key in keyof Value]: Value[Key] extends ArrayOrPlainObject ? Frozen<Value[Key]> : Value[Key] };
3388
+ /**
3389
+ * Freeze an array and all its indices recursively
3390
+ * @param array Array to freeze
3391
+ * @returns Frozen array
3392
+ */
3393
+ declare function freeze<Item>(array: Item[]): Frozen<Item[]>;
3394
+ /**
3395
+ * Freeze a callback
3396
+ * @param callback Function to freeze
3397
+ * @returns Frozen function
3398
+ */
3399
+ declare function freeze<Fn extends GenericCallback>(fn: Fn): Readonly<Fn>;
3400
+ /**
3401
+ * Freeze an object and all its properties recursively
3402
+ * @param object Object to freeze
3403
+ * @returns Frozen object
3404
+ */
3405
+ declare function freeze<Value extends PlainObject>(object: Value): Frozen<Value>;
3406
+ /**
3407
+ * Freeze any value, if possible
3408
+ *
3409
+ * _(Only arrays, functions, and plain objects are freezable)_
3410
+ * @param value Value to freeze
3411
+ * @returns Frozen value
3412
+ */
3413
+ declare function freeze<Value>(value: Value): Value;
3414
+ //#endregion
3373
3415
  //#region src/value/omit.d.ts
3374
3416
  /**
3375
3417
  * Create a new object without the specified keys
@@ -3390,6 +3432,11 @@ declare function pick<Value extends PlainObject, ValueKey extends keyof Value>(v
3390
3432
  //#endregion
3391
3433
  //#region src/value/shake.d.ts
3392
3434
  type Shaken<Value extends PlainObject> = { [Key in keyof Value]: Value[Key] extends undefined ? never : Value[Key] };
3435
+ /**
3436
+ * Shake an object, removing all keys with `undefined` values
3437
+ * @param value Object to shake
3438
+ * @returns Shaken object
3439
+ */
3393
3440
  declare function shake<Value extends PlainObject>(value: Value): Shaken<Value>;
3394
3441
  //#endregion
3395
3442
  //#region src/value/smush.d.ts
@@ -3419,6 +3466,17 @@ type Unsmushed<Value extends PlainObject> = Simplify<Omit<{ [UnionKey in KeysOfU
3419
3466
  declare function unsmush<Value extends PlainObject>(value: Value): Unsmushed<Value>;
3420
3467
  //#endregion
3421
3468
  //#region src/value/merge.d.ts
3469
+ /**
3470
+ * Options for assigning values
3471
+ */
3472
+ type AssignOptions = Omit<MergeOptions, 'assignValues'>;
3473
+ /**
3474
+ * Assign values from multiple arrays or objects to the first one
3475
+ * @param to Value to assign to
3476
+ * @param from Values to assign
3477
+ * @returns Assigned value
3478
+ */
3479
+ type Assigner<Model extends ArrayOrPlainObject = ArrayOrPlainObject> = (to: NestedPartial<Model>, from: NestedPartial<Model>[]) => Model;
3422
3480
  /**
3423
3481
  * Options for merging values
3424
3482
  */
@@ -3458,6 +3516,25 @@ type MergeOptions = {
3458
3516
  * @returns Merged value
3459
3517
  */
3460
3518
  type Merger<Model extends ArrayOrPlainObject = ArrayOrPlainObject> = (values: NestedPartial<Model>[]) => Model;
3519
+ /**
3520
+ * Assign values from multiple arrays or objects to the first one
3521
+ * @param to Value to assign to
3522
+ * @param from Values to assign
3523
+ * @param options Assigning options
3524
+ * @returns Assigned value
3525
+ */
3526
+ declare function assign<Model extends ArrayOrPlainObject>(to: NestedPartial<Model>, from: NestedPartial<Model>[], options?: AssignOptions): Model;
3527
+ declare namespace assign {
3528
+ var initialize: typeof initializeAssigner;
3529
+ }
3530
+ /**
3531
+ * Create an assigner with predefined options
3532
+ *
3533
+ * Available as `initializeAssigner` and `assign.initialize`
3534
+ * @param options Assigning options
3535
+ * @returns Assigner function
3536
+ */
3537
+ declare function initializeAssigner<Model extends ArrayOrPlainObject>(options?: AssignOptions): Assigner<Model>;
3461
3538
  /**
3462
3539
  * Create a merger with predefined options
3463
3540
  *
@@ -3481,9 +3558,50 @@ declare function merge<Model extends ArrayOrPlainObject>(values: NestedPartial<M
3481
3558
  */
3482
3559
  declare function merge(values: NestedPartial<ArrayOrPlainObject>[], options?: MergeOptions): ArrayOrPlainObject;
3483
3560
  declare namespace merge {
3561
+ var assign: typeof assign;
3484
3562
  var initialize: typeof initializeMerger;
3485
3563
  }
3486
3564
  //#endregion
3565
+ //#region src/value/transform.d.ts
3566
+ type TransformCallback<Value extends PlainObject, Key extends keyof Value> = (key: Key, value: Value[Key]) => Value[Key];
3567
+ type TransformCallbacks<Value extends PlainObject> = Partial<{ [Key in keyof Value]: (value: Value[Key]) => Value[Key] }>;
3568
+ type Transformer<Value extends PlainObject> = {
3569
+ (value: Value): Value;
3570
+ };
3571
+ /**
3572
+ * Initialize a transformer for an object with a transformer function
3573
+ *
3574
+ * Available as `initializeTransformer` and `transform.initialize`
3575
+ * @param transform Transformer function
3576
+ * @returns Transformer
3577
+ */
3578
+ declare function initializeTransformer<Value extends PlainObject>(transform: TransformCallback<Value, keyof Value>): Transformer<Value>;
3579
+ /**
3580
+ * Initialize a transformer for an object with transformer functions
3581
+ *
3582
+ * Available as `initializeTransformer` and `transform.initialize`
3583
+ * @param transformers Keyed transformer functions
3584
+ * @return Transformer
3585
+ */
3586
+ declare function initializeTransformer<Value extends PlainObject>(transformers: TransformCallbacks<Value>): Transformer<Value>;
3587
+ /**
3588
+ * Transform and objects properties using a transformer functior
3589
+ * @param value Object to transform
3590
+ * @param transform Transformer function
3591
+ * @returns Transformed object
3592
+ */
3593
+ declare function transform<Value extends PlainObject, Key extends keyof Value>(value: Value, transform: TransformCallback<Value, Key>): Value;
3594
+ /**
3595
+ * Transform and objects properties using a transformer object
3596
+ * @param value Object to transform
3597
+ * @param transformers Keyed transformer functions
3598
+ * @returns Transformed object
3599
+ */
3600
+ declare function transform<Value extends PlainObject>(value: Value, transformers: TransformCallbacks<Value>): Value;
3601
+ declare namespace transform {
3602
+ var initialize: typeof initializeTransformer;
3603
+ }
3604
+ //#endregion
3487
3605
  //#region src/beacon.d.ts
3488
3606
  declare class Beacon<Value> {
3489
3607
  #private;
@@ -4611,6 +4729,96 @@ declare function fromQuery(query: string): PlainObject;
4611
4729
  declare function toQuery(parameters: PlainObject): string;
4612
4730
  //#endregion
4613
4731
  //#region src/queue.d.ts
4732
+ declare class KeyedQueue<CallbackParameters extends Parameters<GenericAsyncCallback>, CallbackResult> {
4733
+ #private;
4734
+ /**
4735
+ * Is any queue active?
4736
+ */
4737
+ get active(): string[];
4738
+ /**
4739
+ * Does the queue automatically start when the first item is added?
4740
+ */
4741
+ get autostart(): boolean;
4742
+ /**
4743
+ * Maximum number of runners to process the queue concurrently
4744
+ */
4745
+ get concurrency(): number;
4746
+ /**
4747
+ * Are all queues empty?
4748
+ */
4749
+ get empty(): string[];
4750
+ /**
4751
+ * Are all queues full?
4752
+ */
4753
+ get full(): string[];
4754
+ /**
4755
+ * Number of items in all queues
4756
+ */
4757
+ get items(): Record<string, number>;
4758
+ /**
4759
+ * Keys of all queues
4760
+ */
4761
+ get keys(): string[];
4762
+ /**
4763
+ * Maximum number of items allowed in the queue
4764
+ */
4765
+ get maximum(): number;
4766
+ /**
4767
+ * Are all queues paused?
4768
+ */
4769
+ get paused(): string[];
4770
+ /**
4771
+ * Number of queues
4772
+ */
4773
+ get queues(): number;
4774
+ constructor(callback: GenericAsyncCallback, options: Required<QueueOptions>);
4775
+ /**
4776
+ * Queue an item for a specific key
4777
+ * @param key Key to queue the item for
4778
+ * @param parameters Parameters to use when item runs
4779
+ * @param signal Optional signal to abort the item
4780
+ * @returns Queued item
4781
+ */
4782
+ add(key: string, parameters: Tail<CallbackParameters>, signal?: AbortSignal): Queued<CallbackResult>;
4783
+ /**
4784
+ * Clear all items for a specific key _(or all items for all keys, if no key is provided)_
4785
+ * @param key Optional key to clear the queue for
4786
+ */
4787
+ clear(key?: string): void;
4788
+ /**
4789
+ * Get the queue for a specific key
4790
+ * @param key Key to get the queue for
4791
+ * @returns Queue for the key, or `undefined` if it doesn't exist
4792
+ */
4793
+ get(key: string): Queue<Tail<CallbackParameters>, CallbackResult> | undefined;
4794
+ /**
4795
+ * Pause the queue for a specific key _(or all queues, if no key is provided)_
4796
+ * @param key Optional key to pause the queue for
4797
+ */
4798
+ pause(key?: string): void;
4799
+ /**
4800
+ * Remove a specific item for a specific key
4801
+ * @param key Key to remove the item for
4802
+ * @param id ID of the item to remove
4803
+ */
4804
+ remove(key: string, id: number): void;
4805
+ /**
4806
+ * Remove a queue and its items for a specific key
4807
+ *
4808
+ * _(To remove all items for a specific key, use `clear()` instead)_
4809
+ * @param key Key to remove the queue for
4810
+ */
4811
+ remove(key: string): void;
4812
+ /**
4813
+ * Remove all queues and their items
4814
+ */
4815
+ remove(): void;
4816
+ /**
4817
+ * Resume the queue for a specific key _(or all queues, if no key is provided)_
4818
+ * @param key Optional key to resume the queue for
4819
+ */
4820
+ resume(key?: string): void;
4821
+ }
4614
4822
  declare class Queue<CallbackParameters extends Parameters<GenericAsyncCallback>, CallbackResult> {
4615
4823
  #private;
4616
4824
  /**
@@ -4645,7 +4853,7 @@ declare class Queue<CallbackParameters extends Parameters<GenericAsyncCallback>,
4645
4853
  * Number of items in the queue
4646
4854
  */
4647
4855
  get size(): number;
4648
- constructor(callback: GenericAsyncCallback, options: Required<QueueOptions>);
4856
+ constructor(callback: GenericAsyncCallback, options: Required<QueueOptions>, key?: string);
4649
4857
  /**
4650
4858
  * Add an item to the queue
4651
4859
  * @param parameters Parameters to use when item runs
@@ -4711,13 +4919,15 @@ type QueuedResult<Value> = {
4711
4919
  */
4712
4920
  value: Value;
4713
4921
  };
4922
+ type Tail<Values extends any[]> = Values extends [infer _, ...infer Rest] ? Rest : never;
4923
+ declare function keyedQueue<Callback extends GenericAsyncCallback>(callback: Callback, options?: QueueOptions): KeyedQueue<Parameters<Callback>, Awaited<ReturnType<Callback>>>;
4714
4924
  /**
4715
4925
  * Create a queue for an asynchronous callback function
4716
4926
  * @param callback Callback function for queued items
4717
4927
  * @param options Queue options
4718
4928
  * @returns Queue instance
4719
4929
  */
4720
- declare function queue<Callback extends GenericAsyncCallback>(callback: Callback, options?: QueueOptions): Queue<Parameters<Callback>, Awaited<ReturnType<Callback>>>;
4930
+ declare function queue<Callback extends (key: string, ...parameters: any[]) => Promise<void>>(callback: Callback, options?: QueueOptions): Queue<Parameters<Callback>, Awaited<ReturnType<Callback>>>;
4721
4931
  /**
4722
4932
  * Create a queue for an asynchronous callback function
4723
4933
  * @param callback Callback function for queued items
@@ -4725,6 +4935,9 @@ declare function queue<Callback extends GenericAsyncCallback>(callback: Callback
4725
4935
  * @returns Queue instance
4726
4936
  */
4727
4937
  declare function queue<Callback extends GenericCallback>(callback: Callback, options?: QueueOptions): Queue<Parameters<Callback>, ReturnType<Callback>>;
4938
+ declare namespace queue {
4939
+ var keyed: typeof keyedQueue;
4940
+ }
4728
4941
  //#endregion
4729
4942
  //#region src/internal/random.d.ts
4730
4943
  /**
@@ -5329,4 +5542,4 @@ declare class SizedSet<Value = unknown> extends Set<Value> {
5329
5542
  get(value: Value, update?: boolean): Value | undefined;
5330
5543
  }
5331
5544
  //#endregion
5332
- export { AnyResult, ArrayComparisonSorter, ArrayKeySorter, ArrayOrPlainObject, ArrayPosition, ArrayValueSorter, Asserter, AsyncCancelableCallback, AttemptFlow, AttemptFlowPromise, type Beacon, type BeaconOptions, BuiltIns, CancelableCallback, CancelablePromise, type Color, Constructor, DiffOptions, DiffResult, DiffValue, EqualOptions, Err, EventPosition, type Events, ExtendedErr, ExtendedResult, Flow, FlowPromise, FulfilledPromise, FuzzyConfiguration, FuzzyOptions, FuzzyResult, FuzzySearchOptions, GenericAsyncCallback, GenericCallback, type HSLAColor, type HSLColor, type Kalas, Key$1 as Key, KeyedValue, type Logger, type Memoized, type MemoizedOptions, MergeOptions, Merger, NestedArray, NestedKeys, NestedPartial, NestedValue, NestedValues, NormalizeOptions, Normalizer, NumericalKeys, NumericalValues, type Observable, type Observer, Ok, OnceAsyncCallback, OnceCallback, PROMISE_ABORT_EVENT, PROMISE_ABORT_OPTIONS, PROMISE_ERROR_NAME, PROMISE_MESSAGE_EXPECTATION_ATTEMPT, PROMISE_MESSAGE_EXPECTATION_RESULT, PROMISE_MESSAGE_EXPECTATION_TIMED, PROMISE_MESSAGE_TIMEOUT, PROMISE_STRATEGY_ALL, PROMISE_STRATEGY_DEFAULT, PROMISE_TYPE_FULFILLED, PROMISE_TYPE_REJECTED, PlainObject, Primitive, PromiseData, PromiseHandlers, PromiseOptions, PromiseParameters, PromiseStrategy, PromiseTimeoutError, PromisesItems, PromisesOptions, PromisesResult, PromisesUnwrapped, PromisesValue, PromisesValues, type Queue, QueueError, type QueueOptions, type Queued, type QueuedResult, type RGBAColor, type RGBColor, RejectedPromise, RequiredKeys, Result, ResultMatch, RetryError, RetryOptions, SORT_DIRECTION_ASCENDING, SORT_DIRECTION_DESCENDING, Shaken, Simplify, SizedMap, SizedSet, Smushed, SortDirection, Sorter, type Subscription, TemplateOptions, type Time, ToString, TypedArray, Unsmushed, Unsubscriber, UnwrapValue, assert, assertCondition, assertDefined, assertInstanceOf, assertIs, asyncAttempt, asyncDebounce, asyncFlow, asyncMatchResult, asyncOnce, asyncPipe, asyncThrottle, attempt, attemptAsyncFlow, attemptAsyncPipe, attemptFlow, attemptPipe, attemptPromise, average, beacon, between, camelCase, cancelable, capitalize, ceil, chunk, clamp, clone, compact, compare, count, debounce, deburr, dedent, delay, deregisterCloner, deregisterComparator, deregisterEqualizer, diff, difference, drop, endsWith, endsWithArray, equal, error, exclude, exists, filter, find, findLast, first, firstOrDefault, flatten, floor, flow, fromQuery, toPromise as fromResult, toPromise, fuzzy, fuzzyMatch, getArray, getArrayPosition, getColor, getError, getForegroundColor, getHexColor, getHexaColor, getHslColor, getHslaColor, getNormalizedHex, getNumber, getRandomBoolean, getRandomCharacters, getRandomColor, getRandomFloat, getRandomHex, getRandomInteger, getRandomItem, getRandomItems, getRgbColor, getRgbaColor, getSortedIndex, getString, getTimedPromise, getUuid, getValue, groupArraysBy, groupBy, handleResult, hasValue, hexToHsl, hexToHsla, hexToRgb, hexToRgba, hslToHex, hslToRgb, hslToRgba, ignoreKey, inMap, inSet, includes, includesArray, indexOf, indexOfArray, initializeEqualizer, initializeMerger, initializeNormalizer, initializeSorter, initializeTemplater, insert, intersection, isArrayOrPlainObject, isColor, isConstructor, isEmpty, isError, isFulfilled, isHexColor, isHslColor, isHslLike, isHslaColor, isInstanceOf, isKey, isNonArrayOrPlainObject, isNonConstructor, isNonEmpty, isNonInstanceOf, isNonKey, isNonNullable, isNonNullableOrEmpty, isNonNullableOrWhitespace, isNonNumber, isNonNumerical, isNonObject, isNonPlainObject, isNonPrimitive, isNonTypedArray, isNullable, isNullableOrEmpty, isNullableOrWhitespace, isNumber, isNumerical, isObject, isOk, isPlainObject, isPrimitive, isRejected, isResult, isRgbColor, isRgbLike, isRgbaColor, isSorted, isTypedArray, join, kalas, kebabCase, last, lastIndexOf, lastOrDefault, logger, lowerCase, matchResult, max, median, memoize, merge, min, move, moveIndices, moveToIndex, noop, normalize, ok, omit, once, parse, partition, pascalCase, pick, pipe, promises, push, queue, range, registerCloner, registerComparator, registerEqualizer, resultPromises, retry, reverse, rgbToHex, rgbToHsl, rgbToHsla, round, select, setValue, settlePromise, shake, shuffle, single, slice, smush, snakeCase, sort, splice, startsWith, startsWithArray, sum, swap, take, template, throttle, timed, times, titleCase, toMap, toMapArrays, toQuery, toRecord, toRecordArrays, toResult, toSet, toggle, trim, truncate, tryDecode, tryEncode, union, unique, unsmush, unwrap, update, upperCase, words };
5545
+ export { AnyResult, ArrayComparisonSorter, ArrayKeySorter, ArrayOrPlainObject, ArrayPosition, ArrayValueSorter, Asserter, AssignOptions, Assigner, AsyncCancelableCallback, AttemptFlow, AttemptFlowPromise, type Beacon, type BeaconOptions, BuiltIns, CancelableCallback, CancelablePromise, type Color, Constructor, DiffOptions, DiffResult, DiffValue, EqualOptions, Err, EventPosition, type Events, ExtendedErr, ExtendedResult, Flow, FlowPromise, Frozen, FulfilledPromise, FuzzyConfiguration, FuzzyOptions, FuzzyResult, FuzzySearchOptions, GenericAsyncCallback, GenericCallback, type HSLAColor, type HSLColor, type Kalas, Key$1 as Key, type KeyedQueue, KeyedValue, type Logger, type Memoized, type MemoizedOptions, MergeOptions, Merger, NestedArray, NestedKeys, NestedPartial, NestedValue, NestedValues, NormalizeOptions, Normalizer, NumericalKeys, NumericalValues, type Observable, type Observer, Ok, OnceAsyncCallback, OnceCallback, PROMISE_ABORT_EVENT, PROMISE_ABORT_OPTIONS, PROMISE_ERROR_NAME, PROMISE_MESSAGE_EXPECTATION_ATTEMPT, PROMISE_MESSAGE_EXPECTATION_RESULT, PROMISE_MESSAGE_EXPECTATION_TIMED, PROMISE_MESSAGE_TIMEOUT, PROMISE_STRATEGY_ALL, PROMISE_STRATEGY_DEFAULT, PROMISE_TYPE_FULFILLED, PROMISE_TYPE_REJECTED, PlainObject, Primitive, PromiseData, PromiseHandlers, PromiseOptions, PromiseParameters, PromiseStrategy, PromiseTimeoutError, PromisesItems, PromisesOptions, PromisesResult, PromisesUnwrapped, PromisesValue, PromisesValues, type Queue, type QueueError, type QueueOptions, type Queued, type QueuedResult, type RGBAColor, type RGBColor, RejectedPromise, RequiredKeys, Result, ResultMatch, RetryError, RetryOptions, SORT_DIRECTION_ASCENDING, SORT_DIRECTION_DESCENDING, Shaken, Simplify, SizedMap, SizedSet, Smushed, SortDirection, Sorter, type Subscription, TemplateOptions, type Time, ToString, Transformer, TypedArray, Unsmushed, Unsubscriber, UnwrapValue, assert, assertCondition, assertDefined, assertInstanceOf, assertIs, assign, asyncAttempt, asyncDebounce, asyncFlow, asyncMatchResult, asyncOnce, asyncPipe, asyncThrottle, attempt, attemptAsyncFlow, attemptAsyncPipe, attemptFlow, attemptPipe, attemptPromise, average, beacon, between, camelCase, cancelable, capitalize, ceil, chunk, clamp, clone, compact, compare, count, debounce, deburr, dedent, delay, deregisterCloner, deregisterComparator, deregisterEqualizer, diff, difference, drop, endsWith, endsWithArray, equal, error, exclude, exists, filter, find, findLast, first, firstOrDefault, flatten, floor, flow, freeze, fromQuery, toPromise as fromResult, toPromise, fuzzy, fuzzyMatch, getArray, getArrayPosition, getColor, getError, getForegroundColor, getHexColor, getHexaColor, getHslColor, getHslaColor, getNormalizedHex, getNumber, getRandomBoolean, getRandomCharacters, getRandomColor, getRandomFloat, getRandomHex, getRandomInteger, getRandomItem, getRandomItems, getRgbColor, getRgbaColor, getSortedIndex, getString, getTimedPromise, getUuid, getValue, groupArraysBy, groupBy, handleResult, hasValue, hexToHsl, hexToHsla, hexToRgb, hexToRgba, hslToHex, hslToRgb, hslToRgba, ignoreKey, inMap, inSet, includes, includesArray, indexOf, indexOfArray, initializeAssigner, initializeEqualizer, initializeMerger, initializeNormalizer, initializeSorter, initializeTemplater, initializeTransformer, insert, intersection, isArrayOrPlainObject, isColor, isConstructor, isEmpty, isError, isFulfilled, isHexColor, isHslColor, isHslLike, isHslaColor, isInstanceOf, isKey, isNonArrayOrPlainObject, isNonConstructor, isNonEmpty, isNonInstanceOf, isNonKey, isNonNullable, isNonNullableOrEmpty, isNonNullableOrWhitespace, isNonNumber, isNonNumerical, isNonObject, isNonPlainObject, isNonPrimitive, isNonTypedArray, isNullable, isNullableOrEmpty, isNullableOrWhitespace, isNumber, isNumerical, isObject, isOk, isPlainObject, isPrimitive, isRejected, isResult, isRgbColor, isRgbLike, isRgbaColor, isSorted, isTypedArray, join, kalas, kebabCase, keyedQueue, last, lastIndexOf, lastOrDefault, logger, lowerCase, matchResult, max, median, memoize, merge, min, move, moveIndices, moveToIndex, noop, normalize, ok, omit, once, parse, partition, pascalCase, pick, pipe, promises, push, queue, range, registerCloner, registerComparator, registerEqualizer, resultPromises, retry, reverse, rgbToHex, rgbToHsl, rgbToHsla, round, select, setValue, settlePromise, shake, shuffle, single, slice, smush, snakeCase, sort, splice, startsWith, startsWithArray, sum, swap, take, template, throttle, timed, times, titleCase, toMap, toMapArrays, toQuery, toRecord, toRecordArrays, toResult, toSet, toggle, transform, trim, truncate, tryDecode, tryEncode, union, unique, unsmush, unwrap, update, upperCase, words };