import { type IChartApi, type ISeriesApi, type SeriesType } from 'lightweight-charts'; export type ChartTheme = 'light'; export interface ChartApi { api(): IChartApi; remove(): void; theme?: ChartTheme; } export interface SeriesApi { api(): ISeriesApi; error?: Error; remove(): void; }