import React, { PropsWithChildren } from 'react'; import type { ComponentControl, ControlPanelType } from '../../core'; declare type Props = PropsWithChildren<{ type: ControlPanelType; label: ComponentControl['label']; dragPositionId?: string; closePanel: () => void; toolbarEl?: HTMLDivElement | null; buttonIndex?: number; contentRef?: React.RefObject; }>; export declare const ControlPanelWrapper: ({ children, closePanel, type, label, dragPositionId, toolbarEl, buttonIndex, contentRef, }: Props) => JSX.Element; export {};