@baleada/logic 0.22.6 → 0.23.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.
Files changed (4) hide show
  1. package/lib/index.cjs +2229 -491
  2. package/lib/index.d.ts +507 -71
  3. package/lib/index.js +2173 -485
  4. package/package.json +28 -16
package/lib/index.d.ts CHANGED
@@ -1,7 +1,10 @@
1
1
  import { getStroke, StrokeOptions } from 'perfect-freehand';
2
- import createDOMPurify, { Config } from 'dompurify';
2
+ import * as ky_distribution_types_ky from 'ky/distribution/types/ky';
3
+ import ky, { Options } from 'ky';
4
+ import { Config, DOMPurifyI } from 'dompurify';
3
5
  import { FullOptions, MatchData, Searcher } from 'fast-fuzzy';
4
- import { Options } from '@sindresorhus/slugify';
6
+ import { Options as Options$1 } from '@sindresorhus/slugify';
7
+ import { ClassValue } from 'clsx';
5
8
 
6
9
  type AnimateableKeyframe = {
7
10
  progress: number;
@@ -156,14 +159,14 @@ type RecognizeableEffectApi<Type extends ListenableSupportedType, Metadata exten
156
159
  setMetadata: (metadata: Metadata) => void;
157
160
  recognized: () => void;
158
161
  denied: () => void;
159
- recognizedUntilReady: () => void;
160
- deniedUntilReady: () => void;
161
- ready: () => void;
162
+ enable: (type: Type) => void;
163
+ disable: (type: Type) => void;
164
+ getAbility: (type: Type) => 'enabled' | 'disabled';
162
165
  getSequence: () => ListenEffectParam<Type>[];
163
166
  onRecognized: (sequenceItem: ListenEffectParam<Type>) => any;
164
167
  };
165
- type RecognizeableStatus = 'recognized' | 'recognizing' | 'denied' | 'ready' | 'recognized until ready' | 'denied until ready';
166
- type RecognizeOptions<Type extends ListenableSupportedType, Metadata extends Record<any, any>> = {
168
+ type RecognizeableStatus = 'recognized' | 'recognizing' | 'denied' | 'ready';
169
+ type RecognizeOptions<Type extends ListenableSupportedType> = {
167
170
  onRecognized?: (sequenceItem: ListenEffectParam<Type>) => any;
168
171
  };
169
172
  declare class Recognizeable<Type extends ListenableSupportedType, Metadata extends Record<any, any>> {
@@ -175,8 +178,6 @@ declare class Recognizeable<Type extends ListenableSupportedType, Metadata exten
175
178
  private resetComputedMetadata;
176
179
  private recognized;
177
180
  private denied;
178
- private recognizedUntilReady;
179
- private deniedUntilReady;
180
181
  private computedStatus;
181
182
  private ready;
182
183
  get sequence(): ListenEffectParam<Type>[];
@@ -185,7 +186,7 @@ declare class Recognizeable<Type extends ListenableSupportedType, Metadata exten
185
186
  get metadata(): Metadata;
186
187
  private computedSequence;
187
188
  setSequence(sequence: ListenEffectParam<Type>[]): this;
188
- recognize(sequenceItem: ListenEffectParam<Type>, { onRecognized }?: RecognizeOptions<Type, Metadata>): this;
189
+ recognize(sequenceItem: ListenEffectParam<Type>, { onRecognized }?: RecognizeOptions<Type>): this;
189
190
  private recognizing;
190
191
  private toType;
191
192
  }
@@ -317,6 +318,29 @@ declare class Broadcastable<State> {
317
318
  }
318
319
  declare function toMessageListenParams<State>(instance: Broadcastable<State>, effect: (event: MessageEvent<State>) => void): Parameters<Listenable<'message'>['listen']>;
319
320
 
321
+ type CompareableOptions = {
322
+ locales?: Parameters<typeof Intl.Collator>[0];
323
+ collator?: Intl.CollatorOptions;
324
+ };
325
+ type CompareableStatus = 'ready' | 'comparing' | 'compared';
326
+ declare class Compareable {
327
+ constructor(string: string, options?: CompareableOptions);
328
+ private computedStatus;
329
+ private ready;
330
+ get string(): string;
331
+ set string(string: string);
332
+ get status(): CompareableStatus;
333
+ private computedCollator;
334
+ get collator(): Intl.Collator;
335
+ private computedComparison;
336
+ get comparison(): 0 | 1 | -1;
337
+ private computedString;
338
+ setString(string: string): this;
339
+ compare(compared: string): this;
340
+ private comparing;
341
+ private compared;
342
+ }
343
+
320
344
  type CompleteableOptions = {
321
345
  segment?: {
322
346
  from?: 'start' | 'selection' | 'divider';
@@ -494,9 +518,13 @@ declare class Resolveable<Value> {
494
518
  private errored;
495
519
  }
496
520
 
497
- type FetchableOptions = Record<never, never>;
498
- type FetchableStatus = 'ready' | 'fetching' | 'fetched' | 'aborted' | 'errored';
499
- type FetchOptions = RequestInit | ((api: FetchOptionsApi) => RequestInit);
521
+ type FetchableOptions = {
522
+ ky?: Options | ((api: ToKyOptionsApi) => Options);
523
+ };
524
+ type ToKyOptionsApi = {
525
+ stop: typeof ky['stop'];
526
+ };
527
+ type FetchableStatus = 'ready' | 'fetching' | 'fetched' | 'retrying' | 'aborted' | 'errored';
500
528
  declare class Fetchable {
501
529
  private computedArrayBuffer;
502
530
  private computedBlob;
@@ -508,10 +536,14 @@ declare class Fetchable {
508
536
  private ready;
509
537
  get resource(): string;
510
538
  set resource(resource: string);
539
+ private computedKy;
540
+ get ky(): ky_distribution_types_ky.KyInstance;
511
541
  private computedAbortController;
512
542
  get abortController(): AbortController;
513
543
  get status(): FetchableStatus;
514
544
  get response(): Response;
545
+ private computedRetryCount;
546
+ get retryCount(): number;
515
547
  get error(): Error;
516
548
  get arrayBuffer(): Resolveable<ArrayBuffer>;
517
549
  get blob(): Resolveable<Blob>;
@@ -522,27 +554,20 @@ declare class Fetchable {
522
554
  setResource(resource: string): this;
523
555
  private computedResponse;
524
556
  private computedError;
525
- fetch(options?: FetchOptions): Promise<this>;
557
+ fetch(options?: Options): Promise<this>;
526
558
  private fetching;
559
+ private retrying;
527
560
  private fetched;
528
561
  private aborted;
529
562
  private errored;
530
- get(options?: FetchOptions): Promise<this>;
531
- patch(options?: FetchOptions): Promise<this>;
532
- post(options?: FetchOptions): Promise<this>;
533
- put(options?: FetchOptions): Promise<this>;
534
- delete(options?: FetchOptions): Promise<this>;
563
+ get(options?: Options): Promise<this>;
564
+ patch(options?: Options): Promise<this>;
565
+ post(options?: Options): Promise<this>;
566
+ put(options?: Options): Promise<this>;
567
+ delete(options?: Options): Promise<this>;
568
+ head(options?: Options): Promise<this>;
535
569
  abort(): this;
536
570
  }
537
- type FetchOptionsApi = {
538
- withJson: (data: Record<any, any>) => {
539
- body: string;
540
- headers: {
541
- 'Accept': 'application/json';
542
- 'Content-Type': 'application/json';
543
- };
544
- };
545
- };
546
571
 
547
572
  type FullscreenableOptions = Record<never, never>;
548
573
  type FullscreenableGetElement<ElementType> = ((...args: any[]) => ElementType);
@@ -676,7 +701,7 @@ declare class Sanitizeable {
676
701
  private ready;
677
702
  get html(): string;
678
703
  set html(html: string);
679
- get dompurify(): createDOMPurify.DOMPurifyI;
704
+ get dompurify(): DOMPurifyI;
680
705
  get status(): SanitizeableStatus;
681
706
  private computedHtml;
682
707
  setHtml(html: string): this;
@@ -757,54 +782,465 @@ declare class Storeable<String extends string> {
757
782
  removeStatus(): this;
758
783
  }
759
784
 
760
- declare function createReduceAsync<Item, Accumulator>(accumulate: (accumulator: Accumulator, item: Item, index: number) => Promise<Accumulator>, initialValue?: Accumulator): (array: Item[]) => Promise<Accumulator>;
785
+ type AnyFn<Returned> = (param: any) => Returned;
786
+ declare function createClone<Any>(): AnyFn<Any>;
787
+ declare function createEqual(compared: any): AnyFn<boolean>;
788
+
789
+ type ArrayFn<Item, Returned> = (array: Item[]) => Returned;
790
+ declare function createConcat<Item>(...arrays: Item[][]): ArrayFn<Item, Item[]>;
791
+ declare function createFilter<Item>(predicate: (item: Item, index: number) => boolean): ArrayFn<Item, Item[]>;
792
+ declare function createInsert<Item>(item: Item, index: number): ArrayFn<Item, Item[]>;
793
+ declare function createMap<Item, Transformed = Item>(transform: (item: Item, index: number) => Transformed): ArrayFn<Item, Transformed[]>;
761
794
  declare function createReduce<Item, Accumulator>(accumulate: (accumulator: Accumulator, item: Item, index: number) => Accumulator, initialValue?: Accumulator): (array: Item[]) => Accumulator;
762
- type ArrayFunctionAsync<Item, Returned> = (array: Item[]) => Promise<Returned>;
763
- declare function createForEachAsync<Item>(forEach: (item: Item, index: number) => any): ArrayFunctionAsync<Item, any>;
764
- declare function createMapAsync<Item, Mapped>(transform: (item: Item, index: number) => Promise<Mapped>): ArrayFunctionAsync<Item, Mapped[]>;
765
- declare function createFilterAsync<Item>(condition: (item: Item, index: number) => Promise<boolean>): ArrayFunctionAsync<Item, Item[]>;
766
- type ArrayFunction<Item, Returned> = (array: Item[]) => Returned;
767
- declare function createRemove<Item>(index: number): ArrayFunction<Item, Item[]>;
768
- declare function createInsert<Item>(item: Item, index: number): ArrayFunction<Item, Item[]>;
795
+ declare function createRemove<Item>(index: number): ArrayFn<Item, Item[]>;
769
796
  declare function createReorder<Item>(from: {
770
797
  start: number;
771
798
  itemCount: number;
772
- } | number, to: number): ArrayFunction<Item, Item[]>;
773
- declare function createSwap<Item>(indices: [number, number]): ArrayFunction<Item, Item[]>;
774
- declare function createReplace<Item>(index: number, item: Item): ArrayFunction<Item, Item[]>;
775
- declare function createUnique<Item>(): ArrayFunction<Item, Item[]>;
776
- declare function createSlice<Item>(from: number, to?: number): ArrayFunction<Item, Item[]>;
777
- declare function createFilter<Item>(condition: (item: Item, index: number) => boolean): ArrayFunction<Item, Item[]>;
778
- declare function createMap<Item, Transformed = Item>(transform: (item: Item, index: number) => Transformed): ArrayFunction<Item, Transformed[]>;
779
- declare function createConcat<Item>(...arrays: Item[][]): ArrayFunction<Item, Item[]>;
780
- declare function createReverse<Item>(): ArrayFunction<Item, Item[]>;
781
- declare function createSort<Item>(compare?: (itemA: Item, itemB: Item) => number): ArrayFunction<Item, Item[]>;
782
- type StringFunction<Returned> = (string: string) => Returned;
783
- declare function createSlug(options?: Options): StringFunction<string>;
784
- declare function createClip(required: string | RegExp): StringFunction<string>;
785
- type NumberFunction<Returned> = (number: number) => Returned;
786
- declare function createClamp(min: number, max: number): NumberFunction<number>;
799
+ } | number, to: number): ArrayFn<Item, Item[]>;
800
+ declare function createReplace<Item>(index: number, replacement: Item): ArrayFn<Item, Item[]>;
801
+ declare function createReverse<Item>(): ArrayFn<Item, Item[]>;
802
+ declare function createSlice<Item>(from: number, to?: number): ArrayFn<Item, Item[]>;
803
+ declare function createSort<Item>(compare?: (itemA: Item, itemB: Item) => number): ArrayFn<Item, Item[]>;
804
+ declare function createSwap<Item>(indices: [number, number]): ArrayFn<Item, Item[]>;
805
+ declare function createUnique<Item>(): ArrayFn<Item, Item[]>;
806
+
807
+ type ArrayAsyncFn<Item, Returned> = (array: Item[]) => Promise<Returned>;
808
+ declare function createFilterAsync<Item>(predicate: (item: Item, index: number) => Promise<boolean>): ArrayAsyncFn<Item, Item[]>;
809
+ declare function createFindAsync<Item>(predicate: (item: Item, index: number) => Promise<boolean>): ArrayAsyncFn<Item, Item | undefined>;
810
+ declare function createFindIndexAsync<Item>(predicate: (item: Item, index: number) => Promise<boolean>): ArrayAsyncFn<Item, number>;
811
+ declare function createForEachAsync<Item>(forEach: (item: Item, index: number) => any): ArrayAsyncFn<Item, any>;
812
+ declare function createMapAsync<Item, Mapped>(transform: (item: Item, index: number) => Promise<Mapped>): ArrayAsyncFn<Item, Mapped[]>;
813
+ declare function createReduceAsync<Item, Accumulator>(accumulate: (accumulator: Accumulator, item: Item, index: number) => Promise<Accumulator>, initialValue?: Accumulator): (array: Item[]) => Promise<Accumulator>;
814
+
815
+ type StringFn<Returned> = (string: string) => Returned;
816
+ declare function createClip(required: string | RegExp): StringFn<string>;
817
+ declare function createSlug(options?: Options$1): StringFn<string>;
818
+
819
+ type NumberFn<Returned> = (number: number) => Returned;
820
+ declare function createClamp(min: number, max: number): NumberFn<number>;
787
821
  type Potentiality<Outcome> = {
788
822
  outcome: Outcome;
789
823
  probability: number;
790
824
  };
791
- declare function createDetermine<Outcome>(potentialities: Potentiality<Outcome>[]): NumberFunction<Outcome>;
792
- type MapFunction<Key, Value, Returned> = (transform: Map<Key, Value>) => Returned;
793
- declare function createRename<Key, Value>(from: Key, to: Key): MapFunction<Key, Value, Map<Key, Value>>;
794
- type ObjectFunction<Key extends string | number | symbol, Value, Returned> = (transform: Record<Key, Value>) => Returned;
795
- declare function createToEntries<Key extends string | number | symbol, Value>(): ObjectFunction<Key, Value, [Key, Value][]>;
796
- declare function createToKeys<Key extends string | number | symbol>(): ObjectFunction<Key, any, [Key, any][]>;
797
- type EventFunction<Evt extends Event, Returned> = (event: Evt) => Returned;
798
- declare function createMatchesKeycombo(keycombo: string): EventFunction<KeyboardEvent, boolean>;
799
- declare function createMatchesMousecombo(mousecombo: string): EventFunction<MouseEvent, boolean>;
800
- declare function createMatchesPointercombo(pointercombo: string): EventFunction<PointerEvent, boolean>;
801
- type ElementFunction<El extends HTMLElement, Returned> = (element: El) => Returned;
802
- declare function createToFocusable(order: 'first' | 'last', elementIsCandidate?: boolean): ElementFunction<HTMLElement, HTMLElement | undefined>;
803
- declare class Pipeable {
804
- private state;
805
- constructor(state: any);
806
- pipe(...fns: ((...args: any[]) => any)[]): any;
807
- pipeAsync(...fns: ((...args: any[]) => Promise<any>)[]): Promise<any>;
808
- }
825
+ declare function createDetermine<Outcome>(potentialities: Potentiality<Outcome>[]): NumberFn<Outcome>;
826
+
827
+ type ObjectFn<Key extends string | number | symbol, Value, Returned> = (transform: Record<Key, Value>) => Returned;
828
+ declare function createEntries<Key extends string | number | symbol, Value>(): ObjectFn<Key, Value, [Key, Value][]>;
829
+ declare function createKeys<Key extends string | number | symbol>(): ObjectFn<Key, any, Key[]>;
830
+ declare function createEvery<Key extends string | number | symbol, Value>(predicate: (key: Key, value: Value) => unknown): ObjectFn<Key, Value, boolean>;
831
+ declare function createSome<Key extends string | number | symbol, Value>(predicate: (key: Key, value: Value) => unknown): ObjectFn<Key, Value, boolean>;
832
+
833
+ type MapFn<Key, Value, Returned> = (transform: Map<Key, Value>) => Returned;
834
+ declare function createRename<Key, Value>(from: Key, to: Key): MapFn<Key, Value, Map<Key, Value>>;
835
+
836
+ type ElementFn<El extends HTMLElement, Returned> = (element: El) => Returned;
837
+ type CreateFocusableOptions = {
838
+ elementIsCandidate?: boolean;
839
+ tabbableSelector?: string;
840
+ };
841
+ declare function createFocusable(order: 'first' | 'last', options?: CreateFocusableOptions): ElementFn<HTMLElement, HTMLElement | undefined>;
842
+
843
+ type AssociativeArrayEntries<Key, Value> = [Key, Value][];
844
+ declare function defineAssociativeArrayEntries<Key, Value>(entries: AssociativeArrayEntries<Key, Value>): AssociativeArrayEntries<Key, Value>;
845
+
846
+ type AssociativeArray<Key extends any, Value extends any> = {
847
+ toValue: (key: Key) => Value | undefined;
848
+ set: (key: Key, value: Value) => void;
849
+ predicateHas: (key: Key) => boolean;
850
+ clear: () => void;
851
+ delete: (key: Key) => boolean;
852
+ toKeys: () => Key[];
853
+ toValues: () => Value[];
854
+ toEntries: () => AssociativeArrayEntries<Key, Value>;
855
+ };
856
+ type AssociativeArrayOptions<Key extends any> = {
857
+ initial?: AssociativeArrayEntries<Key, any>;
858
+ createPredicateKey?: (query: Key) => (candidate: Key) => boolean;
859
+ };
860
+ declare function createAssociativeArray<Key extends any, Value extends any>(options?: AssociativeArrayOptions<Key>): {
861
+ toValue: (key: Key) => Value;
862
+ set: (key: Key, value: Value) => void;
863
+ predicateHas: (key: Key) => boolean;
864
+ clear: () => void;
865
+ delete: (key: Key) => boolean;
866
+ toKeys: () => Key[];
867
+ toValues: () => Value[];
868
+ toEntries: () => AssociativeArrayEntries<Key, Value>;
869
+ };
870
+
871
+ type KeypressType = 'keydown' | 'keyup' | 'visibilitychange';
872
+ type KeypressMetadata = {
873
+ pressed: string;
874
+ } & KeyboardTimeMetadata;
875
+ type KeypressOptions = {
876
+ minDuration?: number;
877
+ preventsDefaultUnlessDenied?: boolean;
878
+ toKey?: CreatePredicateKeycomboDownOptions['toKey'];
879
+ toAliases?: CreatePredicateKeycomboMatchOptions$1['toAliases'];
880
+ onDown?: KeypressHook;
881
+ onUp?: KeypressHook;
882
+ onVisibilitychange?: KeypressHook;
883
+ };
884
+ type KeypressHook = (api: KeypressHookApi) => any;
885
+ type KeypressHookApi = HookApi<KeypressType, KeypressMetadata>;
886
+ declare function createKeypress(keycomboOrKeycombos: string | string[], options?: KeypressOptions): {
887
+ keydown: RecognizeableEffect<"keydown", KeypressMetadata>;
888
+ keyup: RecognizeableEffect<"keyup", KeypressMetadata>;
889
+ visibilitychange: RecognizeableEffect<"visibilitychange", KeypressMetadata>;
890
+ };
891
+
892
+ type KeyreleaseType = 'keydown' | 'keyup' | 'visibilitychange';
893
+ type KeyreleaseMetadata = {
894
+ released: string;
895
+ } & KeyboardTimeMetadata;
896
+ type KeyreleaseOptions = {
897
+ minDuration?: number;
898
+ preventsDefaultUnlessDenied?: boolean;
899
+ toKey?: CreatePredicateKeycomboDownOptions['toKey'];
900
+ toAliases?: CreatePredicateKeycomboMatchOptions$1['toAliases'];
901
+ onDown?: KeyreleaseHook;
902
+ onUp?: KeyreleaseHook;
903
+ onVisibilitychange?: KeyreleaseHook;
904
+ };
905
+ type KeyreleaseHook = (api: KeyreleaseHookApi) => any;
906
+ type KeyreleaseHookApi = HookApi<KeyreleaseType, KeyreleaseMetadata>;
907
+ declare function createKeyrelease(keycomboOrKeycombos: string | string[], options?: KeyreleaseOptions): {
908
+ keydown: RecognizeableEffect<"keydown", KeyreleaseMetadata>;
909
+ keyup: RecognizeableEffect<"keyup", KeyreleaseMetadata>;
910
+ visibilitychange: RecognizeableEffect<"visibilitychange", KeyreleaseMetadata>;
911
+ };
912
+
913
+ type KeychordType = 'keydown' | 'keyup' | 'visibilitychange';
914
+ type KeychordMetadata = {
915
+ played: ({
916
+ released: string;
917
+ } & KeyboardTimeMetadata)[];
918
+ };
919
+ type KeychordOptions = {
920
+ minDuration?: number;
921
+ maxInterval?: number;
922
+ preventsDefaultUnlessDenied?: boolean;
923
+ toKey?: CreatePredicateKeycomboDownOptions['toKey'];
924
+ toAliases?: CreatePredicateKeycomboMatchOptions$1['toAliases'];
925
+ onDown?: KeychordHook;
926
+ onUp?: KeychordHook;
927
+ onVisibilitychange?: KeychordHook;
928
+ };
929
+ type KeychordHook = (api: KeychordHookApi) => any;
930
+ type KeychordHookApi = HookApi<KeychordType, KeychordMetadata>;
931
+ declare function createKeychord(keychord: string, options?: KeychordOptions): {
932
+ keydown: RecognizeableEffect<"keydown", KeychordMetadata>;
933
+ keyup: RecognizeableEffect<"keyup", KeychordMetadata>;
934
+ visibilitychange: RecognizeableEffect<"visibilitychange", KeychordMetadata>;
935
+ };
936
+
937
+ type MousepressType = 'mousedown' | 'mouseleave' | 'mouseup';
938
+ type MousepressMetadata = PointerStartMetadata & PointerMoveMetadata & PointerTimeMetadata;
939
+ type MousepressOptions = {
940
+ minDuration?: number;
941
+ minDistance?: number;
942
+ getMousemoveTarget?: (event: MouseEvent) => HTMLElement;
943
+ onDown?: MousepressHook;
944
+ onMove?: MousepressHook;
945
+ onLeave?: MousepressHook;
946
+ onUp?: MousepressHook;
947
+ };
948
+ type MousepressHook = (api: MousepressHookApi) => any;
949
+ type MousepressHookApi = HookApi<MousepressType, MousepressMetadata>;
950
+ declare function createMousepress(options?: MousepressOptions): RecognizeableOptions<MousepressType, MousepressMetadata>['effects'];
951
+
952
+ type MousereleaseType = 'mousedown' | 'mouseleave' | 'mouseup';
953
+ type MousereleaseMetadata = PointerStartMetadata & PointerMoveMetadata & PointerTimeMetadata;
954
+ type MousereleaseOptions = {
955
+ minDuration?: number;
956
+ minDistance?: number;
957
+ minVelocity?: number;
958
+ getMousemoveTarget?: (event: MouseEvent) => HTMLElement;
959
+ onDown?: MousereleaseHook;
960
+ onMove?: MousereleaseHook;
961
+ onLeave?: MousereleaseHook;
962
+ onUp?: MousereleaseHook;
963
+ };
964
+ type MousereleaseHook = (api: MousereleaseHookApi) => any;
965
+ type MousereleaseHookApi = HookApi<MousereleaseType, MousereleaseMetadata>;
966
+ declare function createMouserelease(options?: MousereleaseOptions): RecognizeableOptions<MousereleaseType, MousereleaseMetadata>['effects'];
967
+
968
+ type TouchpressType = 'touchstart' | 'touchmove' | 'touchcancel' | 'touchend';
969
+ type TouchpressMetadata = PointerStartMetadata & PointerMoveMetadata & PointerTimeMetadata;
970
+ type TouchpressOptions = {
971
+ minDuration?: number;
972
+ minDistance?: number;
973
+ onStart?: TouchpressHook;
974
+ onMove?: TouchpressHook;
975
+ onCancel?: TouchpressHook;
976
+ onEnd?: TouchpressHook;
977
+ };
978
+ type TouchpressHook = (api: TouchpressHookApi) => any;
979
+ type TouchpressHookApi = HookApi<TouchpressType, TouchpressMetadata>;
980
+ declare function createTouchpress(options?: TouchpressOptions): RecognizeableOptions<TouchpressType, TouchpressMetadata>['effects'];
981
+
982
+ type TouchreleaseType = 'touchstart' | 'touchmove' | 'touchcancel' | 'touchend';
983
+ type TouchreleaseMetadata = PointerStartMetadata & PointerMoveMetadata & PointerTimeMetadata;
984
+ type TouchreleaseOptions = {
985
+ minDuration?: number;
986
+ minDistance?: number;
987
+ minVelocity?: number;
988
+ onStart?: TouchreleaseHook;
989
+ onMove?: TouchreleaseHook;
990
+ onCancel?: TouchreleaseHook;
991
+ onEnd?: TouchreleaseHook;
992
+ };
993
+ type TouchreleaseHook = (api: TouchreleaseHookApi) => any;
994
+ type TouchreleaseHookApi = HookApi<TouchreleaseType, TouchreleaseMetadata>;
995
+ declare function createTouchrelease(options?: TouchreleaseOptions): RecognizeableOptions<TouchreleaseType, TouchreleaseMetadata>['effects'];
996
+
997
+ type KeyStatusKey = {
998
+ key?: string;
999
+ code?: string;
1000
+ };
1001
+
1002
+ type Expand<T> = T extends infer O ? {
1003
+ [K in keyof O]: O[K];
1004
+ } : never;
1005
+
1006
+ type CreatePredicateKeycomboDownOptions = {
1007
+ toKey?: (alias: string) => KeyStatusKey;
1008
+ };
1009
+
1010
+ type CreatePredicateKeycomboMatchOptions$1 = CreatePredicateKeycomboDownOptions & {
1011
+ toAliases?: (key: KeyStatusKey) => string[];
1012
+ };
1013
+
1014
+ type Direction = 'up' | 'upRight' | 'right' | 'downRight' | 'down' | 'downLeft' | 'left' | 'upLeft';
1015
+
1016
+ type HookApi<Type extends ListenableSupportedType, Metadata extends Record<any, any>> = {
1017
+ status: RecognizeableStatus;
1018
+ metadata: Metadata;
1019
+ sequence: ListenEffectParam<Type>[];
1020
+ };
1021
+
1022
+ type PolarCoordinates = {
1023
+ distance: number;
1024
+ angle: {
1025
+ radians: number;
1026
+ degrees: number;
1027
+ };
1028
+ };
1029
+
1030
+ type KeyboardTimeMetadata = {
1031
+ times: {
1032
+ start: number;
1033
+ end: number;
1034
+ };
1035
+ duration: number;
1036
+ };
1037
+
1038
+ type PointerStartMetadata = {
1039
+ points: {
1040
+ start: {
1041
+ x: number;
1042
+ y: number;
1043
+ };
1044
+ end: {
1045
+ x: number;
1046
+ y: number;
1047
+ };
1048
+ };
1049
+ };
1050
+
1051
+ type PointerTimeMetadata = {
1052
+ times: {
1053
+ start: number;
1054
+ end: number;
1055
+ };
1056
+ duration: number;
1057
+ velocity: number;
1058
+ };
1059
+
1060
+ type PointerMoveMetadata = {
1061
+ distance: {
1062
+ straight: {
1063
+ fromStart: PolarCoordinates['distance'];
1064
+ fromPrevious: PolarCoordinates['distance'];
1065
+ };
1066
+ horizontal: {
1067
+ fromStart: PolarCoordinates['distance'];
1068
+ fromPrevious: PolarCoordinates['distance'];
1069
+ };
1070
+ vertical: {
1071
+ fromStart: PolarCoordinates['distance'];
1072
+ fromPrevious: PolarCoordinates['distance'];
1073
+ };
1074
+ };
1075
+ angle: {
1076
+ fromPrevious: PolarCoordinates['angle'];
1077
+ fromStart: PolarCoordinates['angle'];
1078
+ };
1079
+ direction: {
1080
+ fromPrevious: Direction;
1081
+ fromStart: Direction;
1082
+ };
1083
+ };
1084
+
1085
+ type Graph<Id extends string, Metadata> = {
1086
+ nodes: GraphNode<Id>[];
1087
+ edges: GraphEdge<Id, Metadata>[];
1088
+ };
1089
+ type GraphNode<Id extends string> = Id;
1090
+ type GraphEdge<Id extends string, Metadata> = {
1091
+ from: Id;
1092
+ to: Id;
1093
+ predicateTraversable: (state: GraphState<Id, Metadata>) => boolean;
1094
+ };
1095
+ type GraphState<Id extends string, Metadata> = Record<Id, {
1096
+ status: 'set' | 'unset';
1097
+ metadata: Metadata;
1098
+ }>;
1099
+ type GraphStep<Id extends string, Metadata> = {
1100
+ path: GraphNode<Id>[];
1101
+ state: GraphState<Id, Metadata>;
1102
+ };
1103
+ type GraphCommonAncestor<Id extends string> = {
1104
+ node: GraphNode<Id>;
1105
+ distances: Record<GraphNode<Id>, number>;
1106
+ };
1107
+ type GraphTreeNode<Id extends string> = {
1108
+ node: GraphNode<Id>;
1109
+ children: GraphTreeNode<Id>[];
1110
+ };
1111
+ declare function defineGraph<Id extends string, Metadata>(nodes: GraphNode<Id>[], edges: GraphEdge<Id, Metadata>[]): {
1112
+ nodes: Id[];
1113
+ edges: GraphEdge<Id, Metadata>[];
1114
+ };
1115
+ declare function defineGraphNodes<Id extends string>(nodes: GraphNode<Id>[]): Id[];
1116
+ declare function defineGraphEdges<Id extends string, Metadata>(edges: GraphEdge<Id, Metadata>[]): GraphEdge<Id, Metadata>[];
1117
+ declare function defineGraphNode<Id extends string>(node: GraphNode<Id>): Id;
1118
+ declare function defineGraphEdge<Id extends string, Metadata>(from: GraphNode<Id>, to: GraphNode<Id>, predicateTraversable: (state: GraphState<Id, Metadata>) => boolean): {
1119
+ from: Id;
1120
+ to: Id;
1121
+ predicateTraversable: (state: GraphState<Id, Metadata>) => boolean;
1122
+ };
1123
+ type AsyncGraph<Id extends string, Metadata> = {
1124
+ nodes: GraphNode<Id>[];
1125
+ edges: AsyncGraphEdge<Id, Metadata>[];
1126
+ };
1127
+ type AsyncGraphEdge<Id extends string, Metadata> = {
1128
+ from: Id;
1129
+ to: Id;
1130
+ predicateTraversable: (metadata: GraphState<Id, Metadata>) => Promise<boolean>;
1131
+ };
1132
+ declare function defineAsyncGraph<Id extends string, Metadata>(nodes: GraphNode<Id>[], edges: AsyncGraphEdge<Id, Metadata>[]): {
1133
+ nodes: Id[];
1134
+ edges: AsyncGraphEdge<Id, Metadata>[];
1135
+ };
1136
+ declare function defineAsyncGraphEdges<Id extends string, Metadata>(edges: AsyncGraphEdge<Id, Metadata>[]): AsyncGraphEdge<Id, Metadata>[];
1137
+ declare function defineAsyncGraphEdge<Id extends string, Metadata>(from: GraphNode<Id>, to: GraphNode<Id>, predicateTraversable: (metadata: GraphState<Id, Metadata>) => Promise<boolean>): {
1138
+ from: Id;
1139
+ to: Id;
1140
+ predicateTraversable: (metadata: GraphState<Id, Metadata>) => Promise<boolean>;
1141
+ };
1142
+
1143
+ type GeneratorFn<Parameter, Yielded> = (param: Parameter) => Generator<Yielded>;
1144
+
1145
+ type GraphFn<Id extends string, Metadata, Returned> = (graph: Graph<Id, Metadata>) => Returned;
1146
+ type GraphGeneratorFn<Id extends string, Metadata, Yielded> = GeneratorFn<Graph<Id, Metadata>, Yielded>;
1147
+ type GraphNodeFn<Id extends string, Returned> = (node: GraphNode<Id>) => Returned;
1148
+ type GraphNodeGeneratorFn<Id extends string, Yielded> = GeneratorFn<GraphNode<Id>, Yielded>;
1149
+ type GraphNodeTupleFn<Id extends string, Returned> = (...nodes: [GraphNode<Id>, GraphNode<Id>]) => Returned;
1150
+ type GraphNodeTupleGeneratorFn<Id extends string, Yielded> = (...nodes: [GraphNode<Id>, GraphNode<Id>]) => Generator<Yielded>;
1151
+ type GraphStateFn<Id extends string, Metadata, Returned> = (state: GraphState<Id, Metadata>) => Returned;
1152
+ declare function createToIndegree<Id extends string, Metadata, GraphType extends Graph<Id, Metadata> | AsyncGraph<Id, Metadata>>(graph: GraphType): GraphNodeFn<Id, number>;
1153
+ declare function createToOutdegree<Id extends string, Metadata, GraphType extends Graph<Id, Metadata> | AsyncGraph<Id, Metadata>>(graph: GraphType): GraphNodeFn<Id, number>;
1154
+ declare function createToIncoming<Id extends string, Metadata, GraphType extends Graph<Id, Metadata> | AsyncGraph<Id, Metadata>>(graph: GraphType): GraphNodeGeneratorFn<Id, GraphType extends AsyncGraph<Id, Metadata> ? AsyncGraphEdge<Id, Metadata> : GraphEdge<Id, Metadata>>;
1155
+ declare function createToOutgoing<Id extends string, Metadata, GraphType extends Graph<Id, Metadata> | AsyncGraph<Id, Metadata>>(graph: GraphType): GraphNodeGeneratorFn<Id, GraphType extends AsyncGraph<Id, Metadata> ? AsyncGraphEdge<Id, Metadata> : GraphEdge<Id, Metadata>>;
1156
+ declare function createPredicateRoot<Id extends string, Metadata, GraphType extends Graph<Id, Metadata> | AsyncGraph<Id, Metadata>>(graph: GraphType): GraphNodeFn<Id, boolean>;
1157
+
1158
+ type AsyncGeneratorFn<Parameter, Yielded> = (param: Parameter) => AsyncGenerator<Yielded>;
1159
+
1160
+ type AsyncGraphFn<Id extends string, Metadata, Returned> = (graph: AsyncGraph<Id, Metadata>) => Promise<Returned>;
1161
+ type AsyncGraphGeneratorFn<Id extends string, Metadata, Yielded> = GeneratorFn<AsyncGraph<Id, Metadata>, Yielded>;
1162
+ type AsyncGraphAsyncGeneratorFn<Id extends string, Metadata, Yielded> = AsyncGeneratorFn<AsyncGraph<Id, Metadata>, Yielded>;
1163
+ type GraphNodeAsyncGeneratorFn<Id extends string, Yielded> = AsyncGeneratorFn<GraphNode<Id>, Yielded>;
1164
+ type GraphNodeTupleAsyncFn<Id extends string, Returned> = (...nodes: [GraphNode<Id>, GraphNode<Id>]) => Promise<Returned>;
1165
+ type GraphNodeTupleAsyncGeneratorFn<Id extends string, Yielded> = (...nodes: [GraphNode<Id>, GraphNode<Id>]) => AsyncGenerator<Yielded>;
1166
+ type GraphStateAsyncFn<Id extends string, Metadata, Returned> = (state: GraphState<Id, Metadata>) => Promise<Returned>;
1167
+
1168
+ declare function createToLayers$1<Id extends string, Metadata>(options?: {
1169
+ createToSteps?: CreateToStepsOptions$2<Id, Metadata>;
1170
+ }): GraphFn<Id, Metadata, GraphNode<Id>[][]>;
1171
+ declare function createToTree$2<Id extends string, Metadata>(options?: {
1172
+ createToSteps?: CreateToStepsOptions$2<Id, Metadata>;
1173
+ }): GraphFn<Id, Metadata, GraphTreeNode<Id>[]>;
1174
+ declare function createToCommonAncestors$2<Id extends string, Metadata>(directedAcyclic: Graph<Id, Metadata>): GraphNodeTupleGeneratorFn<Id, GraphCommonAncestor<Id>>;
1175
+ declare function createPredicateAncestor$2<Id extends string, Metadata>(directedAcyclic: Graph<Id, Metadata>): GraphNodeTupleFn<Id, boolean>;
1176
+ declare function createToNodeSteps$2<Id extends string, Metadata>(directedAcyclic: Graph<Id, Metadata>, options?: {
1177
+ createToSteps?: CreateToStepsOptions$2<Id, Metadata>;
1178
+ }): GraphNodeGeneratorFn<Id, GraphStep<Id, Metadata>>;
1179
+ type CreateToStepsOptions$2<Id extends string, Metadata> = {
1180
+ root?: GraphNode<Id>;
1181
+ toMockMetadata?: (node: GraphNode<Id>, totalConnectionsFollowed: number) => Metadata;
1182
+ toUnsetMetadata?: (node: GraphNode<Id>) => Metadata;
1183
+ kind?: 'directed acyclic' | 'arborescence';
1184
+ };
1185
+ declare function createToSteps$2<Id extends string, Metadata>(options?: CreateToStepsOptions$2<Id, Metadata>): GraphGeneratorFn<Id, Metadata, GraphStep<Id, Metadata>>;
1186
+ declare function createToPath$2<Id extends string, Metadata>(directedAcyclic: Graph<Id, Metadata>): GraphStateFn<Id, Metadata, GraphNode<Id>[]>;
1187
+ declare function createToRoots<Id extends string, Metadata, GraphType extends Graph<Id, Metadata> | AsyncGraph<Id, Metadata> = Graph<Id, Metadata>>(options?: {
1188
+ kind?: 'directed acyclic' | 'arborescence';
1189
+ }): (GraphType extends AsyncGraph<Id, Metadata> ? AsyncGraphGeneratorFn<Id, Metadata, GraphNode<Id>> : GraphGeneratorFn<Id, Metadata, GraphNode<Id>>);
1190
+
1191
+ declare function createToLayers<Id extends string, Metadata>(options?: {
1192
+ createToSteps?: CreateToStepsOptions$2<Id, Metadata>;
1193
+ }): AsyncGraphFn<Id, Metadata, GraphNode<Id>[][]>;
1194
+ declare function createToTree$1<Id extends string, Metadata>(options?: {
1195
+ createToSteps?: CreateToStepsOptions$1<Id, Metadata>;
1196
+ }): AsyncGraphFn<Id, Metadata, GraphTreeNode<Id>[]>;
1197
+ declare function createToCommonAncestors$1<Id extends string, Metadata>(directedAcyclic: AsyncGraph<Id, Metadata>): GraphNodeTupleAsyncGeneratorFn<Id, GraphCommonAncestor<Id>>;
1198
+ declare function createPredicateAncestor$1<Id extends string, Metadata>(directedAcyclic: AsyncGraph<Id, Metadata>): GraphNodeTupleAsyncFn<Id, boolean>;
1199
+ declare function createToNodeSteps$1<Id extends string, Metadata>(directedAcyclic: AsyncGraph<Id, Metadata>, options?: {
1200
+ createToSteps?: CreateToStepsOptions$1<Id, Metadata>;
1201
+ }): GraphNodeAsyncGeneratorFn<Id, GraphStep<Id, Metadata>>;
1202
+ type CreateToStepsOptions$1<Id extends string, Metadata> = CreateToStepsOptions$2<Id, Metadata>;
1203
+ declare function createToSteps$1<Id extends string, Metadata>(options?: CreateToStepsOptions$1<Id, Metadata>): AsyncGraphAsyncGeneratorFn<Id, Metadata, GraphStep<Id, Metadata>>;
1204
+ declare function createToPath$1<Id extends string, Metadata>(directedAcyclic: AsyncGraph<Id, Metadata>): GraphStateAsyncFn<Id, Metadata, GraphNode<Id>[]>;
1205
+
1206
+ type CreateToStepsOptions<Id extends string> = Expand<Pick<CreateToStepsOptions$2<Id, DecisionTreeMetadata>, 'kind'> & {
1207
+ priorityBranch?: boolean;
1208
+ }>;
1209
+ type DecisionTree<Id extends string> = Graph<Id, DecisionTreeMetadata>;
1210
+ type DecisionTreeMetadata = boolean;
1211
+ declare function createToTree<Id extends string>(options?: {
1212
+ createToSteps?: CreateToStepsOptions<Id>;
1213
+ }): GraphFn<Id, boolean, GraphTreeNode<Id>[]>;
1214
+ declare function createToCommonAncestors<Id extends string>(...params: Parameters<typeof createToCommonAncestors$2<Id, DecisionTreeMetadata>>): GraphNodeTupleGeneratorFn<Id, GraphCommonAncestor<Id>>;
1215
+ declare function createPredicateAncestor<Id extends string>(...params: Parameters<typeof createPredicateAncestor$2<Id, DecisionTreeMetadata>>): GraphNodeTupleFn<Id, boolean>;
1216
+ declare function createToNodeSteps<Id extends string>(decisionTree: DecisionTree<Id>, options?: {
1217
+ createToSteps?: CreateToStepsOptions<Id>;
1218
+ }): GraphNodeGeneratorFn<Id, GraphStep<Id, boolean>>;
1219
+ declare function createToSteps<Id extends string>(options?: CreateToStepsOptions<Id>): GraphGeneratorFn<Id, boolean, GraphStep<Id, boolean>>;
1220
+ declare function createToPath<Id extends string>(...params: Parameters<typeof createToPath$2<Id, DecisionTreeMetadata>>): GraphStateFn<Id, boolean, Id[]>;
1221
+
1222
+ type GraphTreeFn<Id extends string, Returned> = (tree: GraphTreeNode<Id>[]) => Returned;
1223
+ declare function createFind<Id extends string>(node: GraphNode<Id>): GraphTreeFn<Id, GraphTreeNode<Id>>;
1224
+
1225
+ type ManyFn<Parameter, Returned> = (...params: Parameter[]) => Returned;
1226
+
1227
+ declare function createList(): ManyFn<ClassValue, string>;
1228
+
1229
+ type ToGraphYielded = {
1230
+ node: GraphNode<string>;
1231
+ edge: PartialGraphEdge | undefined;
1232
+ };
1233
+ type PartialGraphEdge = Omit<GraphEdge<string, unknown>, 'predicateTraversable'>;
1234
+ type CreateToGraphOptions<TreeNode> = {
1235
+ toId?: (node: TreeNode) => string;
1236
+ toChildren?: (node: TreeNode) => TreeNode[];
1237
+ };
1238
+ declare function createToGraph<TreeNode>(options?: CreateToGraphOptions<TreeNode>): GeneratorFn<TreeNode[], ToGraphYielded>;
1239
+
1240
+ type KeyboardEventFn<Returned> = (keyboardEvent: KeyboardEvent) => Returned;
1241
+ type CreatePredicateKeycomboMatchOptions = {
1242
+ toKey?: (alias: string) => KeyStatusKey;
1243
+ };
1244
+ declare const createPredicateKeycomboMatch: (keycombo: string, options?: CreatePredicateKeycomboMatchOptions) => KeyboardEventFn<boolean>;
809
1245
 
810
- export { AnimateFrame, AnimateFrameEffect, AnimateOptions, Animateable, AnimateableKeyframe, AnimateableOptions, AnimateableStatus, ArrayFunction, ArrayFunctionAsync, Broadcastable, BroadcastableOptions, BroadcastableStatus, CompleteOptions, Completeable, CompleteableOptions, CompleteableStatus, Copyable, CopyableOptions, CopyableStatus, Delayable, DelayableEffect, DelayableOptions, DelayableStatus, Drawable, DrawableOptions, DrawableState, DrawableStatus, ElementFunction, EventFunction, FetchOptions, FetchOptionsApi, Fetchable, FetchableOptions, FetchableStatus, Fullscreenable, FullscreenableGetElement, FullscreenableOptions, FullscreenableStatus, Grantable, GrantableOptions, GrantableStatus, ListenEffect, ListenEffectParam, ListenOptions, Listenable, ListenableActive, ListenableKeycombo, ListenableMousecombo, ListenableOptions, ListenablePointercombo, ListenableStatus, ListenableSupportedEventType, ListenableSupportedType, MapFunction, Navigateable, NavigateableOptions, NavigateableStatus, NumberFunction, ObjectFunction, Pickable, PickableOptions, PickableStatus, Pipeable, RecognizeOptions, Recognizeable, RecognizeableEffect, RecognizeableOptions, RecognizeableStatus, Resolveable, ResolveableGetPromise, ResolveableOptions, ResolveableStatus, Sanitizeable, SanitizeableOptions, SanitizeableStatus, Searchable, SearchableOptions, SearchableStatus, Shareable, ShareableOptions, ShareableStatus, Storeable, StoreableOptions, StoreableStatus, StringFunction, createClamp, createClip, createConcat, createDetermine, createFilter, createFilterAsync, createForEachAsync, createInsert, createMap, createMapAsync, createMatchesKeycombo, createMatchesMousecombo, createMatchesPointercombo, createReduce, createReduceAsync, createRemove, createRename, createReorder, createReplace, createReverse, createSlice, createSlug, createSort, createSwap, createToEntries, createToFocusable, createToKeys, createUnique, easingsNetInBack, easingsNetInCirc, easingsNetInCubic, easingsNetInExpo, easingsNetInOutBack, easingsNetInOutCirc, easingsNetInOutCubic, easingsNetInOutExpo, easingsNetInOutQuad, easingsNetInOutQuint, easingsNetInOutSine, easingsNetInQuad, easingsNetInQuart, easingsNetInQuint, easingsNetInSine, easingsNetOutBack, easingsNetOutCirc, easingsNetOutCubic, easingsNetOutExpo, easingsNetOutQuad, easingsNetOutQuint, easingsNetOutSine, linear, materialAccelerated, materialDecelerated, materialStandard, toD, toFlattenedD, toMessageListenParams, verouEase, verouEaseIn, verouEaseInOut, verouEaseOut };
1246
+ export { AnimateFrame, AnimateFrameEffect, AnimateOptions, Animateable, AnimateableKeyframe, AnimateableOptions, AnimateableStatus, AssociativeArray, AssociativeArrayEntries, AssociativeArrayOptions, AsyncGraph, AsyncGraphEdge, Broadcastable, BroadcastableOptions, BroadcastableStatus, Compareable, CompareableOptions, CompareableStatus, CompleteOptions, Completeable, CompleteableOptions, CompleteableStatus, Copyable, CopyableOptions, CopyableStatus, CreateToStepsOptions$1 as CreateAsyncDirectedAcyclicToStepsOptions, CreateToStepsOptions as CreateDecisionTreeToStepsOptions, CreateToStepsOptions$2 as CreateDirectedAcyclicToStepsOptions, CreatePredicateKeycomboMatchOptions, CreateFocusableOptions as CreateToFocusableOptions, CreateToGraphOptions, Delayable, DelayableEffect, DelayableOptions, DelayableStatus, Drawable, DrawableOptions, DrawableState, DrawableStatus, Fetchable, FetchableOptions, FetchableStatus, Fullscreenable, FullscreenableGetElement, FullscreenableOptions, FullscreenableStatus, Grantable, GrantableOptions, GrantableStatus, Graph, GraphCommonAncestor, GraphEdge, GraphNode, GraphState, GraphStep, GraphTreeNode, KeychordHook, KeychordHookApi, KeychordMetadata, KeychordOptions, KeychordType, KeypressHook, KeypressHookApi, KeypressMetadata, KeypressOptions, KeypressType, KeyreleaseHook, KeyreleaseHookApi, KeyreleaseMetadata, KeyreleaseOptions, KeyreleaseType, ListenEffect, ListenEffectParam, ListenOptions, Listenable, ListenableActive, ListenableKeycombo, ListenableMousecombo, ListenableOptions, ListenablePointercombo, ListenableStatus, ListenableSupportedEventType, ListenableSupportedType, MousepressHook, MousepressHookApi, MousepressMetadata, MousepressOptions, MousepressType, MousereleaseHook, MousereleaseHookApi, MousereleaseMetadata, MousereleaseOptions, MousereleaseType, Navigateable, NavigateableOptions, NavigateableStatus, Pickable, PickableOptions, PickableStatus, Potentiality, RecognizeOptions, Recognizeable, RecognizeableEffect, RecognizeableOptions, RecognizeableStatus, Resolveable, ResolveableGetPromise, ResolveableOptions, ResolveableStatus, Sanitizeable, SanitizeableOptions, SanitizeableStatus, Searchable, SearchableOptions, SearchableStatus, Shareable, ShareableOptions, ShareableStatus, Storeable, StoreableOptions, StoreableStatus, ToGraphYielded, TouchpressHook, TouchpressHookApi, TouchpressMetadata, TouchpressOptions, TouchpressType, TouchreleaseHook, TouchreleaseHookApi, TouchreleaseMetadata, TouchreleaseOptions, TouchreleaseType, createAssociativeArray, createPredicateAncestor$1 as createAsyncDirectedAcyclicPredicateAncestor, createToCommonAncestors$1 as createAsyncDirectedAcyclicToCommonAncestors, createToLayers as createAsyncDirectedAcyclicToLayers, createToNodeSteps$1 as createAsyncDirectedAcyclicToNodeSteps, createToPath$1 as createAsyncDirectedAcyclicToPath, createToSteps$1 as createAsyncDirectedAcyclicToSteps, createToTree$1 as createAsyncDirectedAcyclicToTree, createClamp, createClip, createClone, createConcat, createPredicateAncestor as createDecisionTreePredicateAncestor, createToCommonAncestors as createDecisionTreeToCommonAncestors, createToNodeSteps as createDecisionTreeToNodeSteps, createToPath as createDecisionTreeToPath, createToSteps as createDecisionTreeToSteps, createToTree as createDecisionTreeToTree, createDetermine, createPredicateAncestor$2 as createDirectedAcyclicPredicateAncestor, createToCommonAncestors$2 as createDirectedAcyclicToCommonAncestors, createToLayers$1 as createDirectedAcyclicToLayers, createToNodeSteps$2 as createDirectedAcyclicToNodeSteps, createToPath$2 as createDirectedAcyclicToPath, createToRoots as createDirectedAcyclicToRoots, createToSteps$2 as createDirectedAcyclicToSteps, createToTree$2 as createDirectedAcyclicToTree, createEntries, createEqual, createEvery, createFilter, createFilterAsync, createFindAsync, createFindIndexAsync, createFocusable, createForEachAsync, createInsert, createKeychord, createKeypress, createKeyrelease, createKeys, createList, createMap, createMapAsync, createMousepress, createMouserelease, createPredicateKeycomboMatch, createPredicateRoot, createReduce, createReduceAsync, createRemove, createRename, createReorder, createReplace, createReverse, createSlice, createSlug, createSome, createSort, createSwap, createToGraph, createToIncoming, createToIndegree, createToOutdegree, createToOutgoing, createTouchpress, createTouchrelease, createFind as createTreeFind, createUnique, defineAssociativeArrayEntries, defineAsyncGraph, defineAsyncGraphEdge, defineAsyncGraphEdges, defineGraph, defineGraphEdge, defineGraphEdges, defineGraphNode, defineGraphNodes, easingsNetInBack, easingsNetInCirc, easingsNetInCubic, easingsNetInExpo, easingsNetInOutBack, easingsNetInOutCirc, easingsNetInOutCubic, easingsNetInOutExpo, easingsNetInOutQuad, easingsNetInOutQuint, easingsNetInOutSine, easingsNetInQuad, easingsNetInQuart, easingsNetInQuint, easingsNetInSine, easingsNetOutBack, easingsNetOutCirc, easingsNetOutCubic, easingsNetOutExpo, easingsNetOutQuad, easingsNetOutQuint, easingsNetOutSine, linear, materialAccelerated, materialDecelerated, materialStandard, toD, toFlattenedD, toMessageListenParams, verouEase, verouEaseIn, verouEaseInOut, verouEaseOut };