import { GraphMoveSubComponentRootData } from '../../Class/Graph/interface';
import { GraphComponentSpec, GraphSubComponentSpec } from '../../types';
export declare const appendChild: ({ childId }: {
    childId: string;
}, state: GraphComponentSpec) => void;
export declare const insertChild: ({ childId, at }: {
    childId: string;
    at: number;
}, state: GraphComponentSpec) => void;
export declare const removeChild: ({ childId }: {
    childId: any;
}, state: GraphComponentSpec) => void;
export declare const setSubComponent: ({ unitId, subComponent, }: {
    unitId: string;
    subComponent: GraphSubComponentSpec;
}, state: GraphComponentSpec) => void;
export declare const removeSubComponent: ({ unitId }: {
    unitId: string;
}, state: GraphComponentSpec) => void;
export declare const setSize: ({ defaultWidth, defaultHeight, }: {
    defaultWidth: number;
    defaultHeight: number;
}, state: GraphComponentSpec) => GraphComponentSpec;
export declare const setChildren: ({ children }: {
    children: string[];
}, state: GraphComponentSpec) => GraphComponentSpec;
export declare const setSubComponentSize: ({ id, width, height }: {
    id: string;
    width: number;
    height: number;
}, state: GraphComponentSpec) => void;
export declare const setSubComponentChildren: ({ id, children }: {
    id: string;
    children: string[];
}, state: GraphComponentSpec) => void;
export declare const removeSubComponentChild: ({ subComponentId, childId }: {
    subComponentId: string;
    childId: string;
}, state: GraphComponentSpec) => void;
export declare const appendSubComponentChild: ({ parentId, childId }: {
    parentId: string;
    childId: string;
}, state: GraphComponentSpec) => void;
export declare const insertSubComponentChild: ({ parentId, childId, at }: {
    parentId: string;
    childId: string;
    at: number;
}, state: GraphComponentSpec) => void;
export declare const reorderSubComponent: ({ parentId, childId, to }: {
    parentId: string;
    childId: string;
    to: number;
}, state: GraphComponentSpec) => void;
export declare const _removeSubComponentFromParent: ({ parentId, children, slotMap }: GraphMoveSubComponentRootData, state: GraphComponentSpec) => void;
export declare const moveSubComponentRoot: ({ parentId, children, slotMap }: GraphMoveSubComponentRootData, state: GraphComponentSpec) => void;
