import React from 'react'; /** * 处理文本内容,如果是两个中文字符,插入空格 * * @param children ReactNode * @param insertSpace 是否需要插入空格 * @returns 处理后的 ReactNode */ export declare function wrapSpan(children: React.ReactNode, insertSpace?: boolean, className?: string): React.ReactNode; export declare const addResizeObserver: (el: HTMLElement, handler: any, options?: { direction?: boolean | "x" | "y" | undefined; timer?: number | undefined; lazy?: boolean | undefined; }) => () => void; export declare function getParent(el: HTMLElement | null | Element, target?: string | HTMLElement): Element | null; export declare function isScrollable(el: HTMLElement): boolean; export declare function getClosestScrollContainer(element: HTMLElement | null): HTMLElement | null; export declare function getClosestPositionedContainer(element: Element | HTMLElement | null, positions?: React.CSSProperties['position'][]): HTMLElement | null; export declare function cssSupport(attr: keyof CSSStyleDeclaration, value: string): boolean; export declare function getCssVarValue(varName: string): string; export declare const parsePxToNumber: (str: string) => number; export declare function getBaseFontSizeDiff(): number; export declare const getFieldId: (name?: string, formName?: string) => string | undefined; export declare const getOriginField: (name?: string, formName?: string) => string; //# sourceMappingURL=element.d.ts.map