;
/** The clamped text hides something. */
overflowing: boolean;
expanded: boolean;
/** A collapse is animating (the clamp stays off until it ends). */
closing: boolean;
/** The lines to clamp to, as text: `none` while expanded, closing or with `lines` 0. */
clamp: string;
/** Expands or collapses. */
toggle: () => void;
}
/** The state of the enclosing `TruncatedText.Root` (overflowing, expanded …). */
export declare function useTruncatedTextContext(part?: string): TruncatedTextContextValue;
/** The box (a ``): holds the state and measures whether the text is cut as it resizes. */
export declare function Root({ value, lines, expanded: expandedProp, defaultExpanded, onExpandedChange, ref, children, ...rest }: Readonly): import("react").JSX.Element;
/** The text (`value`, unless you give children), with `--truncated-text-lines` for the clamp. */
export declare function Content({ ref, style, children, ...rest }: Readonly, 'id'>>): import("react").JSX.Element;
/** "View more / View less": there only while the text is cut or expanded; a press opens or closes the rest. */
export declare function Toggle(props: Readonly, 'type'>>): import("react").JSX.Element | null;
export {};