import { ReactElement } from 'react';
export default function AddComponent({ componentDid, resourceType, resourceDid, grantedRoles, autoClose, selectedMeta, storeUrl, onComplete, onClose, render, }: {
    componentDid: string;
    resourceType?: string;
    resourceDid?: string;
    autoClose?: boolean;
    selectedMeta?: any;
    storeUrl?: string;
    grantedRoles?: string[];
    onComplete: () => void;
    onClose: () => void;
    render?: ({ onClick, loading }: {
        onClick: () => void;
        loading: boolean;
    }) => ReactElement<any>;
}): import("react/jsx-runtime").JSX.Element;
