import React from 'react';
export interface BaseComponentProps {
    id?: string | number;
    children?: React.ReactNode;
}
type ComponentProps = BaseComponentProps & {
    updateId?: number;
    componentId?: string;
    componentIndex?: number;
};
export declare const createComponent: <T extends ComponentProps>(componentName: string, optionName: string, supportedEvents?: Record<string, string> | null, isSingle?: boolean) => React.FC<T>;
export {};
