import React from 'react';
import { RowValue } from '../../types/basicTable';
type WithCollapseButtonProps = {
    hasCollapseButton?: boolean;
};
export declare const withCollapseButton: <P extends {
    rowValue: RowValue;
    rowIndex: number;
}>(Component: React.ComponentType<P>) => {
    (componentProps: P & WithCollapseButtonProps): React.JSX.Element;
    displayName: string;
};
export {};
