export declare const getGlobalThis: () => any; export declare const requestAnimationFrame: (fn: FrameRequestCallback) => number; export declare const cancelAnimationFrame: (handle: number) => void; export declare const raf: () => Promise; export declare const doubleRaf: () => Promise; export declare const getStyle: (element: Element) => CSSStyleDeclaration; /** 获取dom的rect */ export declare const getRect: (element: Element | Window) => DOMRect; export declare const inViewport: (element: HTMLElement) => boolean; export declare const preventDefault: (event: Event) => void; export declare const getScrollTop: (element: Element | Window) => number; export declare const getScrollLeft: (element: Element | Window) => number;