import type { IRange, ISelectionCell } from '@univerjs/core'; export interface ISparklineSelectorReturns { sourceRanges: IRange[]; targetRanges: IRange[]; } export interface ISparklineResetCtx { groupId: string; primary: ISelectionCell; } export interface ISparklineSelectorProps { sourceRanges: IRange[]; targetRanges?: IRange[]; onConfirm: (info: ISparklineSelectorReturns) => void; onCancel: () => void; resetCtx?: ISparklineResetCtx; }