UNPKG

2.19 kBTypeScriptView Raw
1export declare function cssHyphenate(propertyName: string): string;
2export declare function isPresent(obj: any): boolean;
3export declare function isString(str: any): boolean;
4export declare function isBlank(obj: any): boolean;
5export declare function regExFirstMatch(regExp: RegExp, input: string): RegExpExecArray;
6export declare function setValueOnPath(context: any, path: string, value: any): void;
7export declare class ListWrapper {
8 static contains<T>(list: T[], el: T): boolean;
9 static remove<T>(list: T[], el: T): boolean;
10}
11export declare class StringMapWrapper {
12 static create(): {
13 [k: string]: any;
14 };
15 static contains(map: {
16 [key: string]: any;
17 }, key: string): boolean;
18 static get<V>(map: {
19 [key: string]: V;
20 }, key: string): V;
21 static set<V>(map: {
22 [key: string]: V;
23 }, key: string, value: V): void;
24 static keys(map: {
25 [key: string]: any;
26 }): string[];
27 static values<T>(map: {
28 [key: string]: T;
29 }): T[];
30 static isEmpty(map: {
31 [key: string]: any;
32 }): boolean;
33 static delete(map: {
34 [key: string]: any;
35 }, key: string): void;
36 static forEach<V>(map: {
37 [key: string]: V;
38 }, callback: (v: V, key: string) => void): void;
39 static merge<V>(m1: {
40 [key: string]: V;
41 }, m2: {
42 [key: string]: V;
43 }): {
44 [key: string]: V;
45 };
46 static equals<V>(m1: {
47 [key: string]: V;
48 }, m2: {
49 [key: string]: V;
50 }): boolean;
51}
52export declare function camelCaseToDashCase(input: string): string;
53export declare function dashCaseToCamelCase(input: string): string;
54export declare function stringify(token: any): string;
55export declare const listContains: (list: any[], el: any) => boolean;
56export declare function stringMapForEach(map: {
57 [key: string]: any;
58}, callback: (V, K) => void): void;
59export declare const isSuccess: (status: number) => boolean;
60export declare function _randomChar(): string;
61export declare function _appIdRandomProviderFactory(): string;
62export declare function arrayFlattenTree(children: any[], arr: any[]): any[];
63declare var __empty: any;
64export default __empty;