// import { PathStyleProps, RectStyleProps, TextStyleProps } from '../../shapes'; // import { AxisTickLineCfg } from '../axis/types'; // import { ControlButtonStyleProps } from './button'; // export type TimeData = { // date: string; // [k: string]: any; // }; // export type PlayAxisStyleProps = { // size?: number; // selection?: [number, number] | number; // selectionStyle?: { // fill?: string; // fillOpacity?: number; // cursor?: string; // }; // backgroundStyle?: { // fill?: string; // fillOpacity?: number; // }; // label?: { // position?: -1 | 1; // tickLine?: AxisTickLineCfg; // tickPadding?: number; // style?: Omit; // } | null; // // Only for SliderAxis // handleStyle?: { // r?: number; // fill?: string; // fillOpacity?: number; // lineWidth?: number; // stroke?: string; // strokeOpacity?: number; // cursor?: string; // }; // // Only for CellAxis. // spacing?: number; // // Only for CellAxis // cellGap?: number; // // Only for CellAxis // cellStyle?: { // fill?: string; // fillOpacity?: number; // radius?: number; // }; // loop?: boolean; // playMode?: 'increase' | 'fixed'; // }; // export type SpeedControlStyleProps = { // width?: number; // // Size of marker is equal to size, and size of SpeedPath is equal to [size*2, size * 4], // markerSize?: number; // markerFill?: string; // // Require 5 speeds, like: [1, 2, 3, 4, 5], [0.5, 1, 1.5, 2, 2.5] // speeds?: number[]; // initialSpeed?: number; // lineStyle?: Omit; // labelStyle?: Omit; // formatter?: (v: number) => string; // // Spacing distance between label and speedControl button. // spacing?: number; // }; // type ButtonBackgroundStyle = Omit; // export type CheckboxStyleProps = { // size?: number; // active?: boolean; // buttonStyle?: ButtonBackgroundStyle & { active?: ButtonBackgroundStyle }; // symbol?: { // active?: { // stroke?: string; // }; // }; // labelStyle?: Omit; // }; // export type TimelineStyleProps = { // x?: number; // y?: number; // data: TimeData[]; // width?: number; // height?: number; // padding?: number | number[]; // orientation?: 'horizontal' | 'vertical'; // selection?: number | [number, number]; // type?: 'slider' | 'cell'; // singleMode?: boolean; // singleModeControl?: (CheckboxStyleProps & { width?: number }) | null; // speedControl?: SpeedControlStyleProps | null; // controlPosition?: 'bottom' | 'left' | 'right'; // controlButton?: { // // Spacing distance between control buttons. // spacing?: number; // prevBtn?: ControlButtonStyleProps | null; // playBtn?: ControlButtonStyleProps | null; // nextBtn?: ControlButtonStyleProps | null; // } | null; // playAxis?: PlayAxisStyleProps & { // appendPadding?: number | number[]; // }; // playInterval?: number; // autoPlay?: boolean; // };