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