import { Component, ReactNode } from 'react';
import './Cuttable.less';
declare type CuttableProps = {
    /**
     * Content of the component.
     * @since 0.0.42
     */
    children: ReactNode;
    /**
     * Whether the component is open or closed.
     * @since 0.0.42
     */
    collapsed?: boolean;
    /**
     * Max height of content
     * @since 0.0.42
     */
    maxHeight?: string;
    /**
     * Localization messages
     * @since 0.0.42
     */
    locale: {
        showMore: string;
        showLess: string;
    };
    /**
     * @ignore
     */
    className?: string;
    /**
     * @ignore
     */
    baseClassName?: string;
};
declare type CuttableState = {
    collapsed?: boolean;
    autofit: boolean;
};
/**
 * `Cuttable` component is used for showing and hiding part of content.
 * @since 0.0.42
 */
declare class Cuttable extends Component<CuttableProps, CuttableState> {
    static defaultProps: {
        collapsed: boolean;
        maxHeight: string;
        locale: {
            showMore: string;
            showLess: string;
        };
        baseClassName: string;
    };
    state: {
        collapsed: undefined;
        autofit: boolean;
    };
    contentRef: import("react").RefObject<HTMLDivElement>;
    handleToggle: () => void;
    handleResize: () => void;
    render(): JSX.Element;
}
export default Cuttable;
