import { Selection } from 'd3'; export interface AccessorFunction { (dataObject: X): Y; } export interface TextFunction { (dataObject: unknown): string; } export interface InteractionFunction { (pointArray: Array): void; } export interface EmptyInteractionFunction { (): void; } export interface DefinedFunction { (dataObject: unknown): boolean; } export interface Margin { left: number; right: number; bottom: number; top: number; } export interface DomainObject { x: Domain; y: Domain; } export declare enum LegendSymbol { LINE = "line", CIRCLE = "circle", SQUARE = "square" } export declare enum BrushType { XY = "xy", X = "x", Y = "y" } export declare type Domain = number[]; export declare type Range = number[]; export declare type GenericD3Selection = Selection; export declare type SvgD3Selection = Selection; export declare type GD3Selection = Selection; export declare type LineD3Selection = Selection; export declare type TextD3Selection = Selection;