///
import React, { PureComponent } from 'react';
import type { RichContentTheme, TranslationFunction } from 'wix-rich-content-common';
import type { PreviewConfig } from '..';
interface Props {
label?: string;
lines?: number;
theme: RichContentTheme;
showToggle?: boolean;
t: TranslationFunction;
onPreviewExpand: PreviewConfig['onPreviewExpand'];
}
interface State {
clamped: boolean;
}
declare class ReadMore extends PureComponent {
rmContainer: React.RefObject;
rmMocker: React.RefObject;
styles: Record;
constructor(props: Props);
onClick: (e: React.MouseEvent) => void;
onReflow: ({ clamped }: {
clamped: any;
}) => void;
componentDidMount(): void;
render(): JSX.Element;
}
export default ReadMore;
//# sourceMappingURL=ReadMore.d.ts.map