export declare function initTpImg(): HTMLImageElement; export declare function getTpImg(): HTMLImageElement; export declare function getPropClass(property: any, params: any): any; export declare function isPx(val: any): any; export declare function isScale(val: any): any; export declare function hasClass(elem: any, cls: any): any; export declare function removeClass(elem: any, cls: any): void; export declare function addClass(elem: any, cls: string): void; export declare function hasControlKey(evnt: KeyboardEvent | MouseEvent | DragEvent): boolean; export declare function toCssUnit(val?: number | string, unit?: string): string; export declare function queryElement(elem: HTMLTableCellElement, selector: string): HTMLElement | null; export declare function getDomNode(): { scrollTop: number; scrollLeft: number; visibleHeight: number; visibleWidth: number; }; export declare function getOffsetHeight(elem?: HTMLElement): number; export declare function getPaddingTopBottomSize(elem: HTMLElement): number; export declare function setScrollTop(elem: HTMLElement | null | undefined, scrollTop: number): void; export declare function setScrollLeft(elem: HTMLElement | null | undefined, scrollLeft: number): void; export declare function updateCellTitle(overflowElem: any, column: any): void; export declare function checkTargetElement(target: HTMLElement | EventTarget | null, exEls: (HTMLElement | null)[], endEl?: HTMLElement | EventTarget | null): boolean; /** * 检查触发源是否属于目标节点 */ export declare function getEventTargetNode(evnt: any, container: any, queryCls?: string, queryMethod?: (target: Element) => boolean): { flag: boolean; container: any; targetElem: any; } | { flag: boolean; container?: undefined; targetElem?: undefined; }; /** * 获取元素相对于 document 的位置 */ export declare function getOffsetPos(elem: any, container: any): any; export declare function getAbsolutePos(elem: any): { boundingTop: any; top: any; boundingLeft: any; left: any; visibleHeight: number; visibleWidth: number; }; export declare function hasEventInputTarget(target: EventTarget | Element | null): boolean | ""; export declare function hasAxternalInputTarget(target: EventTarget | Element | null): boolean; export declare function scrollToView(elem: any): void; export declare function triggerEvent(targetElem: Element, type: string): void; export declare function isNodeElement(elem: any): elem is HTMLElement; export declare function scrollTopTo(diffNum: number, cb: (progress: number) => void): void; export declare function wheelScrollLeftTo(scrollLeft: number, cb: (offsetLeft: number) => void): void; export declare function wheelScrollTopTo(diffNum: number, cb: (progress: number) => void): void; interface PanelPlacementOptions { defaultTop?: number; defaultLeft?: number; placement?: '' | 'top' | 'bottom' | null; defaultPlacement?: '' | 'top' | 'bottom' | null; appendTo?: string | HTMLElement | ((params: any) => string | HTMLElement); teleportTo?: boolean; marginSize?: number; isMinWidth?: boolean; } /** * 通用定位计算 */ export declare function updatePanelPlacement(targetElem: HTMLElement | null | undefined, panelElem: HTMLElement | null | undefined, options: PanelPlacementOptions): { top: number; bottom: number; left: number; arrowLeft: number; style: Record; placement: "top" | "bottom"; }; export declare function getPopupWrapperElement(panelElem: HTMLElement | null | undefined): HTMLElement | null; export declare function getPopupContainer(appendTo: string | HTMLElement | ((params: any) => string | HTMLElement) | undefined): string | HTMLElement; export declare function getPopupAppendElement(appendTo: string | HTMLElement | ((params: any) => string | HTMLElement) | undefined): HTMLElement; export {};