import { ColorIdentifier } from '../theme'; export interface IDecorationData { readonly weight?: number; readonly color?: ColorIdentifier; readonly letter?: string; readonly tooltip?: string; readonly bubble?: boolean; readonly source?: string; } export interface IDecoration { readonly tooltip: string; readonly labelClassName: string; readonly badgeClassName: string; update(data: IDecorationData): IDecoration; }