import { ReactElement } from "react";
export declare const isReactDomElement: (Element: any) => Element is ReactElement<any, string | ((props: any, deprecatedLegacyContext?: any) => ReactElement<any, any> | null) | (new (props: any, deprecatedLegacyContext?: any) => import("react").Component<any, any, any>)>;
export declare const isReactElement: (Element: any) => Element is ReactElement<any, string | ((props: any, deprecatedLegacyContext?: any) => ReactElement<any, any> | null) | (new (props: any, deprecatedLegacyContext?: any) => import("react").Component<any, any, any>)>;
export declare const isDomNode: (x: any) => x is HTMLElement;
declare type SimpleRef = (ref: HTMLElement | null) => void;
export declare const combineRefs: (...refs: SimpleRef[]) => (refElement: HTMLElement | null) => void;
export declare const isSimpleStyledComponent: (Element: any) => any;
export declare const cloneWithRefs: (Element: ReactElement<any>, ref: SimpleRef) => ReactElement<any, string | ((props: any, deprecatedLegacyContext?: any) => ReactElement<any, any> | null) | (new (props: any, deprecatedLegacyContext?: any) => import("react").Component<any, any, any>)>;
export declare const isDescendant: (el: Node, target: Node) => boolean;
export declare const isOutside: (el: Node, target: Node) => boolean;
export declare const isNumeric: (number: any) => boolean;
export declare const randomRgba: () => string;
export declare function getTextWidth(value: string, font: string): number | null;
export declare function isTextFitElementWidth(text: string, element: HTMLElement): boolean;
export declare function sendRefSafety<T = any>(refHandler: RefType<T>, element: T | null): void;
export declare const typeId: <Value extends string>(value: Value) => Value;
export declare const isDefined: (value: any) => boolean;
export declare const isValidUrl: (value: string) => boolean;
export declare const urlify: (text: string) => import("react").JSX.Element;
export declare const getNumberFromPixels: (pixels: string | null) => number;
export declare const FILE_SIZE_STEP = 1024;
export declare const MB_FILE_SIZE: number;
export declare const fileSizeFormat: (bytes?: number) => string;
export declare const getHighlightParts: (text: string, highlightText: string) => {
    text: string;
    highlight: boolean;
}[];
export declare const sortNumbers: (a: number, b: number) => number;
export declare const getUnicodeFromString: (code: string | number) => string | null;
export {};
