import { ReactNode, ComponentType } from 'react'; import remStringFromPx from './remStringFromPx'; import shallowEqual from './shallowEqual'; export default remStringFromPx; export declare function generateId(): string; export declare function isString(object: any): boolean; export declare function isEmpty(value: any): boolean; export declare function isEmptyId(id: any): boolean; export declare const isEmptyChildren: (children: ReactNode) => boolean; export declare const isFunction: (value: any) => value is T; export declare const getComponentName: (component: ComponentType) => any; export declare const getHocComponentName: (hocName: string, component: ComponentType) => string; export declare const withDefaultProps:

= Partial

>(defaultProps: DP, Cmp: ComponentType

) => ComponentType & Required>>; declare type Arg = object; declare type Args = Arg[]; declare type CallFunction = (args: Args) => void; export declare const callAll: (...fns: T[]) => (...args: A) => void; export declare const isBase64: (fileAsBase64: string) => boolean; export declare const getMimeTypeFromBase64: (fileAsBase64: string) => string; export declare const openFileAsBase64: (fileAsBase64: string, name?: string) => void; export declare const openFileAsBlob: (file: any, mimeType: string, name?: string) => void; export declare const base64toBlob: (base64Data: string, contentType?: string) => Blob; export declare const on: (el: any, evt: any, fn: any, bubble: any) => void; export declare const off: (el: any, evt: any, fn: any) => void; export declare const ruleIsValid: (value: string, givenRegex: RegExp) => boolean; interface Rule { text: string; regex: RegExp; } export declare const rulesMatch: (value: string, rules: Array) => boolean; export { shallowEqual };