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