import { EasyCoderState } from '@easy-coder/sdk/store';
import { ElementSketchGroup } from '../../type';

export interface OutlineNode {
    id: string;
    label: string;
    type: 'element' | EasyCoderState.Type;
    draggable?: boolean;
    icon?: React.ReactNode;
    children?: OutlineNode[];
}
export default function stateToTree(state: EasyCoderState.Desc, elementGroups?: ElementSketchGroup[]): OutlineNode[];
