import * as React from "react";
type TextDiffProps = {
    title: string;
    after: string | undefined;
    before: string | undefined;
};
type TextDiffState = {
    collapsed: boolean;
};
declare class TextDiff extends React.Component<TextDiffProps, TextDiffState> {
    static defaultProps: Partial<TextDiffProps>;
    state: TextDiffState;
    UNSAFE_componentWillReceiveProps(nextProps: TextDiffProps): void;
    handleExpand: () => void;
    render(): React.ReactNode;
}
export default TextDiff;
