import React, { ComponentProps } from "react";
import { FormItemProps } from "@arco-design/web-react";
import { Path } from "slate";
export interface EnhancerProps {
    path: Path | null;
    name: string;
    label: React.ReactNode;
    formItem?: FormItemProps;
    fallbackValue?: any;
    onChange?: (...rest: any) => void;
}
export declare const enhancer: <P extends React.FC<any>>(Component: P) => (props: EnhancerProps & Omit<React.ComponentProps<P>, "onChange" | "value">) => React.JSX.Element;
