import { default as React_2 } from 'react'; export declare const Truncate: ({ children, length, mode, enableRichTruncation, noBorder, }: TruncateProps) => React_2.JSX.Element; declare type TruncateProps = { /** * The children to render. */ children: React.ReactNode; /** * The maximum length of the text. * @default 200 */ length?: number; /** * Opt-in flag to enable truncation of rich React nodes (HTML / nested elements). * When false (default), only plain string children are truncated; non-string * children are rendered as-is. When true, the component will traverse the * React node tree, measure the concatenated textual content, and rebuild a * structurally equivalent subtree truncated at the calculated boundary. * @default false */ enableRichTruncation?: boolean; /** * The mode of Button. This will change the color of the Button. * @default "system" */ mode?: "dark" | "light" | "system" | "alt-system"; /** * Whether or not to render the Button with a border. * @default false */ noBorder?: boolean; }; export { }