import type { AnimationEvent, ClipboardEvent, CompositionEvent, DOMAttributes, DragEvent, FocusEvent, FormEvent, HTMLAttributes, JSXElementConstructor, KeyboardEvent, MouseEvent, PointerEvent, ReactElement, SVGAttributes, SyntheticEvent, TouchEvent, TransitionEvent, UIEvent, WheelEvent } from 'react'; export interface Activity { count: number; date: string; level: number; } export type Week = Array; export type Labels = Partial<{ legend: Partial<{ less: string; more: string; }>; months: Array; tooltip: string; totalCount: string; weekdays: Array; }>; interface BlockAttributes extends SVGAttributes, HTMLAttributes { } export type BlockElement = ReactElement>; export type SVGRectEventHandler = Omit, 'css' | 'children' | 'dangerouslySetInnerHTML'>; export type EventHandlerMap = { [key in keyof SVGRectEventHandler]: (...event: Parameters>) => (activity: Activity) => void; }; export type ReactEvent = AnimationEvent & ClipboardEvent & CompositionEvent & DragEvent & FocusEvent & FormEvent & KeyboardEvent & MouseEvent & PointerEvent & SyntheticEvent & TouchEvent & TransitionEvent & UIEvent & WheelEvent; type FixedProps = { categoryClicked: string; eventType: 'dot' | 'category' | 'bar' | 'slice' | 'bubble'; }; type BaseEventProps = FixedProps & { [key: string]: number | string; }; export type EventProps = BaseEventProps | null | undefined; export type Interval = 'preserveStartEnd' | 'equidistantPreserveStart'; export type IntervalType = 'preserveStartEnd' | Interval; export type CurveType = 'linear' | 'natural' | 'monotone' | 'step'; export type ValueFormatter = { (value: number): string; }; export type LabelFormatter = { (value: number | string): string; }; export type ScatterChartValueFormatter = { size?: ValueFormatter; x?: ValueFormatter; y?: ValueFormatter; }; declare const deltaTypeValues: readonly ["increase", "moderateIncrease", "decrease", "moderateDecrease", "unchanged"]; export type DeltaType = (typeof deltaTypeValues)[number]; export declare const DeltaTypes: { [key: string]: DeltaType; }; export {};