1 | export * from './mainthread-helper';
|
2 | export * from './macrotask-scheduler';
|
3 | export declare const RESOURCE_PREFIX = "res://";
|
4 | export declare const FILE_PREFIX = "file:///";
|
5 | export declare function escapeRegexSymbols(source: string): string;
|
6 | export declare function convertString(value: any): any;
|
7 | export declare function getModuleName(path: string): string;
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | export declare function sanitizeModuleName(moduleName: string, removeExtension?: boolean): string;
|
14 | export declare function isFileOrResourcePath(path: string): boolean;
|
15 | export declare function isFontIconURI(uri: string): boolean;
|
16 | export declare function isDataURI(uri: string): boolean;
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare function getFileExtension(path: string): string;
|
23 | export declare function mergeSort(arr: any, compareFunc: any): any;
|
24 | export declare function merge(left: any, right: any, compareFunc: any): any[];
|
25 | export declare function hasDuplicates(arr: Array<any>): boolean;
|
26 | export declare function eliminateDuplicates(arr: Array<any>): Array<any>;
|
27 | export declare function executeOnMainThread(func: Function): any;
|
28 | export declare function executeOnUIThread(func: Function): void;
|
29 | export declare function mainThreadify(func: Function): (...args: any[]) => void;
|
30 | export declare function debounce(fn: any, delay?: number, { leading }?: {
|
31 | leading?: boolean;
|
32 | }): (...args: Array<any>) => void;
|
33 | export declare function throttle(fn: Function, delay?: number): (...args: any[]) => void;
|
34 | export declare function queueGC(delay?: number, useThrottle?: boolean): void;
|
35 | export declare function isEmoji(value: string): boolean;
|
36 |
|
37 |
|
38 |
|
39 | export declare const CORE_ANIMATION_DEFAULTS: {
|
40 | duration: number;
|
41 | spring: {
|
42 | tension: number;
|
43 | friction: number;
|
44 | mass: number;
|
45 | velocity: number;
|
46 | };
|
47 | };
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 | export declare function getDurationWithDampingFromSpring(springSettings?: {
|
55 | tension?: number;
|
56 | friction?: number;
|
57 | mass?: number;
|
58 | velocity?: number;
|
59 | }): {
|
60 | duration: number;
|
61 | damping: number;
|
62 | };
|