import { Attribute } from './attribute'; import type { DateRangeCell } from './date/range'; export interface Glyph { key: string | number; color: string; class: string | any[]; style: Record; } export interface Profile { start: T; base: T; end: T; startEnd?: T; } export type HighlightFillMode = 'solid' | 'light' | 'outline'; export interface Highlight extends Glyph { fillMode: HighlightFillMode; wrapperClass: string | any[]; contentClass: string | any[]; contentStyle: Record; } export type HighlightConfig = boolean | string | Partial>>; export type Dot = Glyph; export type DotConfig = boolean | string | Partial>>; export type Bar = Glyph; export type BarConfig = boolean | string | Partial>>; export type Content = Glyph; export type ContentConfig = string | Partial>>; export interface GlyphRenderer

> { type: string; normalizeConfig(color: string, config: any): Profile

; prepareRender(glyphs: Record): void; render(attr: DateRangeCell, glyphs: Record): void; } export declare class HighlightRenderer implements GlyphRenderer { type: string; normalizeConfig(color: string, config: any): Profile; prepareRender(glyphs: Record): void; render({ data, onStart, onEnd }: DateRangeCell, glyphs: Record): void; } export declare class BaseRenderer> implements GlyphRenderer { type: string; collectionType: string; constructor(type: string, collectionType: string); normalizeConfig(color: string, config: any): Profile; prepareRender(glyphs: Record): void; render({ data, onStart, onEnd }: DateRangeCell, glyphs: Record): void; } export declare class ContentRenderer extends BaseRenderer { constructor(); normalizeConfig(_: string, config: any): Profile; } export declare class DotRenderer extends BaseRenderer { constructor(); } export declare class BarRenderer extends BaseRenderer { constructor(); }