import React from 'react'; type ValueOf = T[keyof T]; type KeysWithValueType = { [Key in keyof Obj]: Obj[Key] extends ValueType ? Key : never; }[keyof Obj & string]; type PrefixKeys = { [K in keyof T as `${Prefix}${Extract}`]: T[K]; }; declare function getInitials(name: string): string; declare function getKey(prefix: string, suffix: string | number): string; declare function hasClass(allClasses: string | undefined, className: string): boolean; declare function isIE11(): boolean; declare function warnIfOverwriting(props: Props, propertyName: keyof Props, componentName: string): void; declare function withKey(element: React.ReactElement, prefix: string, suffix: string | number): React.ReactNode; declare function mergeRefs(refs: Array | React.LegacyRef | undefined>): React.RefCallback; declare function sleep(ms: number): Promise; export { getInitials, getKey, hasClass, isIE11, mergeRefs, warnIfOverwriting, withKey, sleep, type ValueOf, type KeysWithValueType, type PrefixKeys, }; //# sourceMappingURL=helpers.d.ts.map