import { default as React, ReactNode } from 'react'; export declare const toPixels: (value: string | number | undefined) => number; export declare const capitalizeFirstLetter: (string: string) => string; export type TruncatedTextResult = { truncatedValue: string; fullValue: string; isTruncated: boolean; }; export declare const getTruncatedText: (text: string, limit?: number) => TruncatedTextResult; export declare const formatTextWithLineBreaks: (content: ReactNode | string) => ReactNode; /** * Composes multiple refs (forwarded ref + trigger's ref) so both receive the same DOM instance. * Use when cloning an element and passing a ref so the child's existing ref is not lost. */ export declare function composeRefs(...refs: (React.Ref | null | undefined)[]): React.RefCallback; export declare const addPxToValue: (value?: number | string) => string; export declare const flattenChildren: (children: React.ReactNode) => React.ReactElement[]; export declare const useAutofillDetection: (inputRef: React.RefObject, setIsAutofilled: (value: boolean) => void) => void;