import Vue from 'vue'; import { EasingFunction } from './easing'; import { ScrollContainer, ScrollContainerElement } from '../common.type'; export declare const isServer: any; export declare const trim: (str: string) => string; export declare const on: any; export declare const off: any; export declare function once(element: Node, event: string, handler: EventListenerOrEventListenerObject): void; export declare function hasClass(el: Element, cls: string): any; export declare function addClass(el: HTMLElement, cls: string): any; export declare function removeClass(el: Element, cls: string): any; export declare const getAttach: (node: any, triggerNode?: any) => HTMLElement; export declare const getScrollContainer: (container?: ScrollContainer) => ScrollContainerElement; declare type ScrollTarget = HTMLElement | Window | Document; export declare function getScroll(target: ScrollTarget, isLeft?: boolean): number; interface ScrollTopOptions { container?: ScrollTarget; duration?: number; easing?: EasingFunction; } export declare function scrollTo(target: number, opt: ScrollTopOptions): Promise; export declare const clickOut: (els: Vue | Element | Iterable | ArrayLike, cb: Function) => void; export declare const isNodeOverflow: (ele: Vue | Element | (Vue | Element)[]) => boolean; export declare const scrollSelectedIntoView: (parentEle: HTMLElement, selected: HTMLElement) => void; export declare const removeDom: (el: HTMLElement) => void; export {};