import { ComponentType, Ref } from 'react'; /** * 简单包装,不做任何处理 * 部分组件ref比较特殊,包一层会解决这个问题 */ export declare function withWrap(Comp: ComponentType): import("react").ForwardRefExoticComponent & import("react").RefAttributes>; export declare function withNativeElementWrap(Comp: ComponentType, refFunctions?: string[], preventFunctions?: string[]): import("react").ForwardRefExoticComponent & import("react").RefAttributes>; /** * * 去除 forwardRef 特殊包装 */ export declare function withWrapInput(Comp: ComponentType): (props: any, ref: Ref) => JSX.Element; export declare function withSingleFunctionChild(Comp: ComponentType): (props: any) => JSX.Element; /** * dayjs对象在序列化后会被转为字符串 * 需要让日期类组件支持接受字符串值 */ export declare const handleDesignModeClick: (Comp: ComponentType) => (props: any) => JSX.Element;