/// <reference types="react" />
import { EditorComponentIds, EditorComponentIdMapType } from '../editor/components/index';
import { DataComponentProps } from '../editor/components/types';
import { ComponentType } from '../editor/types';
declare type DataComponentPropsKeys = keyof DataComponentProps;
declare type BlockProps<T extends EditorComponentIds> = {
    componentId: T;
    title: string;
    defaultProps?: Omit<React.ComponentProps<EditorComponentIdMapType[T]>, // current component props
    DataComponentPropsKeys>;
    icon?: any;
    componentType: ComponentType;
    disabled?: boolean;
};
export declare const Block: <T extends string>({ componentId, title, defaultProps, icon, componentType, disabled, }: BlockProps<T>) => JSX.Element;
export {};
