import { AddIndicatorOptions, AddIndicatorResult } from '../core/indicator/addIndicator'; import { IndicatorPresetName } from '../core/indicator/indicatorPresets'; import { IndicatorHost } from '../bindings/shared'; export declare function useIndicator(host: () => IndicatorHost, preset: IndicatorPresetName, options?: AddIndicatorOptions): { result: import('vue').Ref<{ id: string; preset: IndicatorPresetName; placement: "overlay" | "oscillator"; seriesIds: string[]; paneId?: string | undefined; } | null, (AddIndicatorResult & { paneId?: string; }) | { id: string; preset: IndicatorPresetName; placement: "overlay" | "oscillator"; seriesIds: string[]; paneId?: string | undefined; } | null>; isLoading: import('vue').Ref; error: import('vue').Ref; };