UNPKG

@rsc-labs/medusa-store-analytics

Version:
26 lines (25 loc) 795 B
export type ChartDataType = { current: { date: Date; value: any; }[]; previous: { date: Date; value: any; }[]; }; export declare const ChartCustomTooltip: ({ active, payload, label, resolutionType }: { active: any; payload: any; label: any; resolutionType: any; }) => import("react/jsx-runtime").JSX.Element; export declare const ChartCurrentPrevious: ({ rawChartData, fromDate, toDate, fromCompareDate, toCompareDate, compareEnabled, connectEmptyPointsUsingPreviousValue }: { rawChartData: ChartDataType; fromDate: Date; toDate: Date; fromCompareDate?: Date; toCompareDate?: Date; compareEnabled?: boolean; connectEmptyPointsUsingPreviousValue?: boolean; }) => import("react/jsx-runtime").JSX.Element;