import { GraphMoveSubComponentRootData, GraphSetSubComponentSizeData } from '../../Class/Graph/interface';
import { GraphComponentSpec, GraphSubComponentSpec } from '../../types';
export declare const appendRoot: ({ childId }: {
    childId: string;
}, component: GraphComponentSpec) => void;
export declare const insertRoot: ({ childId, at }: {
    childId: string;
    at: number;
}, component: GraphComponentSpec) => void;
export declare const removeRoot: ({ childId }: {
    childId: any;
}, state: GraphComponentSpec) => void;
export declare const setSubComponent: ({ unitId, subComponent, }: {
    unitId: string;
    subComponent: GraphSubComponentSpec;
}, component: GraphComponentSpec) => void;
export declare const removeSubComponent: ({ unitId }: {
    unitId: string;
}, component: GraphComponentSpec) => void;
export declare const setSize: ({ defaultWidth, defaultHeight, }: {
    defaultWidth: number;
    defaultHeight: number;
}, component: GraphComponentSpec) => GraphComponentSpec;
export declare const setChildren: ({ children }: {
    children: string[];
}, component: GraphComponentSpec) => GraphComponentSpec;
export declare const setSubComponentSize: ({ unitId, width, height }: GraphSetSubComponentSizeData, component: GraphComponentSpec) => void;
export declare const setSubComponentChildren: ({ parentId, children }: {
    parentId: string;
    children: string[];
}, component: GraphComponentSpec) => void;
export declare const removeSubComponentChild: ({ parentId, childId }: {
    parentId: string;
    childId: string;
}, component: GraphComponentSpec) => void;
export declare const appendSubComponentChild: ({ parentId, childId, slotName, }: {
    parentId: string;
    childId: string;
    slotName: string;
}, state: GraphComponentSpec) => void;
export declare const insertSubComponentChild: ({ parentId, childId, slotName, at, }: {
    parentId: string;
    childId: string;
    slotName: 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;
export declare const removeSubComponentFromParent: ({ subComponentId }: {
    subComponentId: string;
}, component: GraphComponentSpec) => void;
export declare const moveRoot: ({ parentId, childId, at, slotName, }: {
    parentId: string;
    childId: string;
    at: number;
    slotName: string;
}, component: GraphComponentSpec) => void;
