import { FC, ReactNode } from "react";
import { PanelFieldConfig } from '../../../../../../../page/app/components/InspectPanel/interface';
interface ProviderProps {
    eventItems: any[];
    childrenSetter: PanelFieldConfig[];
    widgetDisplayName: string;
    attrPath: string;
    handleUpdateDsl: (attrPath: string, value: any) => void;
    children: ReactNode;
    widgetType: string;
}
interface Inject extends Omit<ProviderProps, "children"> {
    handleDeleteEventItem: (index: number) => void;
    handleCopyEventItem: (index: number) => void;
}
export declare const BaseEventHandlerContext: import("react").Context<Inject>;
export declare const BaseEventHandlerProvider: FC<ProviderProps>;
export {};
