import type { D3FCAxis } from '@d3fc/d3fc-axis'; import type { ScaleBand, ScaleLinear, ScaleSequential, AxisDomain } from 'd3'; import type { HTMLProps } from 'react'; export interface Margin { top: number; bottom: number; left: number; right: number; } interface CalendarHeatmapDetail { date: string; value: number; } export interface CalendarHeatmapDatum { date: string; total: number; details?: CalendarHeatmapDetail[]; } export declare type Response = 'rotate' | 'offset' | 'hide'; export interface BaseOverviewHeatmapProps extends Omit, 'data'> { color?: string; fade?: boolean; response?: Response; onCellClick?: (d: T) => void; onTooltip?: (datum: { value: unknown; }) => void; onHideTooltip?: () => void; onFadeComplete?: () => void; } interface ScaleAndAxisProps { labels: string[]; element: HTMLDivElement; margin: Margin; paddingInner: number; response?: Response; align?: 'top' | 'bottom' | 'left' | 'right'; } export declare function addAxisLabelResponsivness(axis: D3FCAxis, response?: Response): D3FCAxis; export declare function getXScaleAndAxis({ labels, element, margin, paddingInner, response, align, }: ScaleAndAxisProps): [ScaleBand, D3FCAxis]; export declare function getYScaleAndAxis({ labels, element, margin, paddingInner, response, }: ScaleAndAxisProps): [ScaleBand, D3FCAxis]; export declare function createColorGenerator(minValue: number, maxValue: number, color?: string | undefined | null): ScaleSequential | ScaleLinear; export declare function removeLastYearWeekData(dataArray: T[]): T[]; export declare function fadeAwayElements(selectorsList: string[]): Promise; export declare function getColor(colorGenerator: ScaleSequential | ScaleLinear, value: number): string; export {}; //# sourceMappingURL=utils.d.ts.map