///
import type { Text } from "../text";
export declare const useShowMoreText: ({ rowsToShow, textVariantProps, trigger, isExpandedProp, onExpandedChange, }: {
rowsToShow: number;
textVariantProps: React.ComponentProps["variant"];
trigger?: unknown;
isExpandedProp?: boolean;
onExpandedChange?: (isExpanded: boolean) => void;
}) => {
rows: number;
textVariant: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body1" | "body2" | "body3" | "body4" | "body5";
expectedHeightWhenClosed: string;
isOverflow: boolean;
textRef: import("react").RefObject;
isExpanded: boolean;
handleOnExpandedChange: (isExpanded: boolean) => void;
textId: string;
};
//# sourceMappingURL=use-show-more-text.d.ts.map