import React from 'react';
import { ComponentSchema } from '@subscan/widget-core';
import { EditorServices } from '../../types';
declare type Props = {
    component: ComponentSchema;
    parentId: string | undefined;
    slot: string | undefined;
    onSelectComponent: (id: string) => void;
    onSelected?: (id: string) => void;
    services: EditorServices;
    isAncestorDragging: boolean;
    depth: number;
};
export declare const ComponentTreeWrapper: React.FC<Props>;
export {};
