import type { FC, HTMLAttributes, ReactNode } from "react";
export interface TextWrapProps extends HTMLAttributes {
/**
* The content of the `TextWrap`.
*/
children: ReactNode;
/**
* The max number of lines before the text is cut with an ellipsis.
*/
maxLines?: number;
}
/**
* The `TextWrap` component is used to wrap text and truncate it with an ellipsis if it overflows.
*
* See the [Text Wrap documentation page](https://satellite.algolia.com/8261d6576/p/4274c8-text-wrap) for more information.
*/
export declare const TextWrap: FC;