///
//@ts-ignore
import { ComponentType, ReactElement, ReactNode } from 'react';
export declare const isString: (value: any) => boolean;
export declare const isNull: (value: any) => boolean;
export declare const isUndefined: (value: any) => value is undefined;
export declare const isObject: (value: any) => boolean;
export declare const noop: () => any;
export declare const returnFalse: () => boolean;
export declare const stringify: (value: any) => string;
export declare const swap: (arr: any[], i: number, j: number) => any[];
export declare const createPortalRoot: (rootId: string, modifier: string) => HTMLDivElement;
export declare const getColumnClass: (columnsAmount: number) => string;
export declare const getRandomString: () => string;
export declare const componentType: {
set(Component: ComponentType, name: string): void;
get(Component: ReactElement['type']): string | undefined;
is(Component1: ReactElement['type'], Component2: ComponentType): boolean;
};
export type ARIALabelContextType = {
labelId?: string;
labelText?: string;
labelFor?: string;
};
export type ARIALabels = {
ariaLabel?: string;
ariaLabelledBy?: string;
};
export declare const getAriaLabel: (label?: string, ariaLabel?: string) => string | undefined;
export declare const setAriaProps: (props: T, { labelId, labelText, labelFor }: ARIALabelContextType) => T;
export type Omit = Pick>;
export type Exclude = T extends U ? never : T;
export type PropsWithDefaults = Omit & Required> & {
children?: ReactNode;
};
export type StaticDefaultProps = Required>;
export type AnyObject = Record;
export type Action = {
type: T;
payload: P;
};