import { Component, FormattedData } from '@/types/index';
/**
 * add component
 * @param component component detail
 * @returns new node
 */
export declare const addComponent: (component: Component, opt: {
    componentMap: FormattedData['componentMap'];
}) => import("@/types/index").StructureNode<Record<string, any>>;
