import { Chart } from '../../core/chart/types'; import { StackedChart } from '../../core/stacked/types'; import { AddIndicatorOptions, AddIndicatorResult } from '../../core/indicator/addIndicator'; import { IndicatorPresetName } from '../../core/indicator/indicatorPresets'; export type IndicatorHost = Chart | StackedChart | null; export declare function isStackedChart(host: IndicatorHost): host is StackedChart; export declare function addIndicatorToHost(host: IndicatorHost, preset: IndicatorPresetName, options?: AddIndicatorOptions): Promise; export declare function removeIndicatorFromChart(chart: Chart, rootId: string): void;