///
import { Payload } from 'recharts/types/component/DefaultLegendContent';
export declare namespace IWeekwiseBarChart {
type Props = {
width?: string | number;
height?: string | number;
legends?: CustomLegendType[];
data: any[];
labelX?: string;
labelY?: string;
workPhaseTimeHourLabel?: string;
slackTimeHourLabel?: string;
dataKeyX: string;
dataKeyY?: string;
workPhaseTimeHourDataKey: string;
slackTimeHourDataKey: string;
showTooltip?: boolean;
showLegends?: boolean;
margin?: {
top?: number;
right?: number;
bottom?: number;
left?: number;
};
customYAxisTickFormatter?: (value: any) => string;
customXAxisTickFormatter?: (value: any) => string;
dateFormat?: string;
};
type CustomLegendType = Omit & {
value: string;
color?: string;
shape?: React.ReactNode;
payload?: {
value: string;
strokeDasharray: string;
};
};
}