import { IDestroyable } from '@tradingview/core/idestroyable'; import { ScrollToOptions, StopFunction } from './scroll-to'; export declare type ScrollIntoViewOptions = Omit; export interface IScrollIntoViewHelper extends IDestroyable { scrollTo: (element: HTMLElement | null, options?: ScrollIntoViewOptions) => void; scrollToLastElement: (options?: ScrollIntoViewOptions) => void; stopScroll: StopFunction; getContainer: () => HTMLElement | null; setContainer: (newContainer: HTMLElement | null) => void; } export declare class ScrollIntoViewHelper implements IScrollIntoViewHelper { private _container; private _lastScrolledElement; private _stopVerticalScroll; private _stopHorizontalScroll; constructor(initialContainer?: HTMLElement | null); scrollTo(element: HTMLElement | null, options?: ScrollIntoViewOptions): void; scrollToLastElement(options?: ScrollIntoViewOptions): void; stopScroll(): void; getContainer(): HTMLElement | null; setContainer(newContainer: HTMLElement | null): void; destroy(): void; private _handleScrollEnd; private _modifyOptions; }