export declare function omit(obj: object, fields: string[]): object; export declare function removeEmptyAttrs(obj: T): Partial; export declare function getTabElementByValue(tabs: any[], value: string): object; export declare function firstUpperCase(str: string): string; export type Gradients = { [percent: string]: string; }; export type FromTo = { from: string; to: string; }; export type LinearGradient = { direction?: string; } & (Gradients | FromTo); export declare function getBackgroundColor(color: string | string[] | LinearGradient): string; export declare function getPropsApiByEvent(eventName: string): string; /** * 兼容样式中支持 number/string 类型的传值 得出最后的结果。 * @param param number 或 string 类型的可用于样式上的值 * @returns 可使用的样式值。 */ export declare function pxCompat(param: string | number): string;