@baleada/logic 0.22.7 → 0.23.1

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