import React from 'react';
import { TooltipProps } from '../../../Tooltip/Tooltip';
type ColumnHeaderBase = {
    /** Header props */
    header: {
        /** Content of the header */
        text: string;
        /** Tooltip content */
        tooltipContent?: TooltipProps['tooltipContent'];
        /** Background color  */
        bgColor: 'blue' | 'red' | 'light-gray' | 'yellow' | 'light-purple' | 'white';
    };
    subHeader?: {
        /** Content of the sub header */
        text: string;
        /** Tooltip content */
        tooltipContent?: TooltipProps['tooltipContent'];
        /** Sub header color */
        color: 'red' | 'purple' | 'yellow';
    };
    /** Dynamic styles passed in from the parent component */
    containerClassName?: string;
    /** Needed to determine the width of the column */
    columnWidth: number;
    onHeaderCellClick: () => void;
    headerCancelCallout?: () => void;
    disabled?: boolean;
    headerText: string;
    headerChildren?: React.ReactNode;
};
type WithCellCount = ColumnHeaderBase & {
    errorCount: number;
    showCount: boolean;
};
type WithoutCellCount = ColumnHeaderBase & {
    errorCount?: never;
    showCount?: never;
};
export type ColumnHeaderType = WithCellCount | WithoutCellCount;
declare const ColumnHeader: ({ errorCount, header, showCount, subHeader, containerClassName, columnWidth, onHeaderCellClick, disabled, headerText, headerChildren, headerCancelCallout, }: ColumnHeaderType) => React.JSX.Element;
export default ColumnHeader;
