import { GraphMergeSpec, GraphMergesSpec, GraphPinSpec, GraphSpec, GraphSubPinSpec, GraphUnitSpec, GraphUnitsSpec } from '../../types';
import { IO } from '../../types/IO';
export declare const setName: ({ name }: {
    name: string;
}, spec: GraphSpec) => void;
export declare const addUnit: ({ unitId, unit }: {
    unitId: string;
    unit: GraphUnitSpec;
}, spec: GraphSpec) => void;
export declare const addUnits: ({ units }: {
    units: GraphUnitsSpec;
}, spec: GraphSpec) => void;
export declare const removeUnits: ({ ids }: {
    ids: string[];
}, spec: GraphSpec) => void;
export declare const mergeUnits: ({ units }: {
    units: GraphUnitsSpec;
}, spec: GraphSpec) => void;
export declare const removeUnitExposedTypePins: ({ id, type }: {
    id: string;
    type: IO;
}, spec: GraphSpec) => void;
export declare const removeUnitExposedPins: ({ unitId: id }: {
    unitId: string;
}, spec: GraphSpec) => void;
export declare const removeUnitMerges: ({ unitId: id }: {
    unitId: string;
}, spec: GraphSpec) => void;
export declare const removeUnit: ({ unitId }: {
    unitId: string;
}, spec: GraphSpec) => void;
export declare const addMerge: ({ mergeId, merge }: {
    mergeId: string;
    merge: GraphMergeSpec;
}, spec: GraphSpec) => void;
export declare const addPinToMerge: ({ id, unitId, type, pinId, }: {
    id: string;
    type: IO;
    unitId: string;
    pinId: string;
}, spec: GraphSpec) => void;
export declare const addMerges: ({ merges }: {
    merges: GraphMergesSpec;
}, spec: GraphSpec) => void;
export declare const removeMerge: ({ id }: {
    id: string;
}, spec: GraphSpec) => void;
export declare const mergeMerges: ({ a, b }: {
    a: string;
    b: string;
}, spec: GraphSpec) => void;
export declare const _removePinFromMerge: ({ id, unitId, type, pinId, }: {
    id: string;
    type: IO;
    unitId: string;
    pinId: string;
}, spec: GraphSpec) => void;
export declare const removePinFromMerge: ({ id, unitId, type, pinId, }: {
    id: string;
    type: IO;
    unitId: string;
    pinId: string;
}, spec: GraphSpec) => void;
export declare const isPinMerged: (spec: GraphSpec, id: any, unitId: string, type: IO, pinId: string) => boolean;
export declare const coverPinSet: ({ pinId, type }: {
    pinId: string;
    type: IO;
}, spec: GraphSpec) => void;
export declare const coverPin: ({ pinId, type, subPinId, }: {
    pinId: string;
    type: IO;
    subPinId: string;
}, spec: GraphSpec) => void;
export declare const exposePinSet: ({ pinId, type, pinSpec }: {
    pinId: string;
    type: IO;
    pinSpec: GraphPinSpec;
}, spec: GraphSpec) => void;
export declare const setUnitId: ({ unitId, newUnitId, name, }: {
    unitId: string;
    newUnitId: string;
    name: string;
}, spec: GraphSpec) => void;
export declare const exposePin: ({ pinId, type, subPinId, subPinSpec, }: {
    pinId: string;
    type: IO;
    subPinId: string;
    subPinSpec: GraphSubPinSpec;
}, spec: GraphSpec) => void;
export declare const exposeInputSet: ({ id, input }: {
    id: string;
    input: GraphPinSpec;
}, spec: GraphSpec) => void;
export declare const exposeInput: ({ id, subPinId, input, }: {
    id: string;
    subPinId: string;
    input: GraphSubPinSpec;
}, spec: GraphSpec) => void;
export declare const plugPin: ({ type, id, subPinId, subPinSpec, }: {
    type: IO;
    id: string;
    subPinId: string;
    subPinSpec: GraphSubPinSpec;
}, spec: GraphSpec) => void;
export declare const unplugInput: ({ id, subPinId, }: {
    id: string;
    subPinId: string;
}, spec: GraphSpec) => void;
export declare const unplugOutput: ({ id, subPinId, }: {
    id: string;
    subPinId: string;
}, spec: GraphSpec) => void;
export declare const unplugPin: ({ type, pinId, subPinId, }: {
    type: IO;
    pinId: string;
    subPinId: string;
}, spec: GraphSpec) => void;
export declare const coverInputSet: ({ id }: {
    id: string;
}, spec: GraphSpec) => void;
export declare const coverInput: ({ id, subPinId, }: {
    id: string;
    subPinId: string;
}, spec: GraphSpec) => void;
export declare const exposeOutputSet: ({ id, output }: {
    id: string;
    output: GraphPinSpec;
}, spec: GraphSpec) => void;
export declare const exposeOutput: ({ id, subPinId, output, }: {
    id: string;
    subPinId: string;
    output: GraphSubPinSpec;
}, spec: GraphSpec) => void;
export declare const coverOutputSet: ({ id }: {
    id: string;
}, spec: GraphSpec) => void;
export declare const coverOutput: ({ id, subPinId, }: {
    id: string;
    subPinId: string;
}, spec: GraphSpec) => void;
export declare const setUnitErr: ({ unitId, err }: {
    unitId: string;
    err: string | null;
}, spec: GraphSpec) => void;
export declare const setPinSetName: ({ type, id, name }: {
    type: IO;
    id: string;
    name: string;
}, spec: GraphSpec) => void;
export declare const setPinSetId: ({ type, id, newId }: {
    type: IO;
    id: string;
    newId: string;
}, spec: GraphSpec) => void;
export declare const setPinSetFunctional: ({ type, pinId, functional }: {
    type: IO;
    pinId: string;
    functional: boolean;
}, spec: GraphSpec) => void;
export declare const setPinSetRef: ({ type, pinId, ref }: {
    type: IO;
    pinId: string;
    ref: boolean;
}, spec: GraphSpec) => void;
export declare const setUnitInput: ({ id, name, data }: {
    id: string;
    name: string;
    data: string;
}, spec: GraphSpec) => void;
export declare const setUnitOutput: ({ id, name, data }: {
    id: string;
    name: string;
    data: string;
}, spec: GraphSpec) => void;
export declare const setUnitPinData: ({ unitId, type, pinId, data, }: {
    unitId: string;
    type: IO;
    pinId: string;
    data: any;
}, spec: GraphSpec) => void;
export declare const setUnitPinConstant: ({ unitId, type, pinId, constant, }: {
    unitId: string;
    type: IO;
    pinId: string;
    constant: boolean;
}, spec: GraphSpec) => void;
export declare const setUnitInputConstant: ({ unitId, pinId, constant, }: {
    unitId: string;
    pinId: string;
    constant: boolean;
}, spec: GraphSpec) => void;
export declare const setUnitOutputConstant: ({ unitId, pinId, constant, }: {
    unitId: string;
    pinId: string;
    constant: boolean;
}, spec: GraphSpec) => void;
export declare const setUnitPinIgnored: ({ unitId, type, pinId, ignored, }: {
    unitId: string;
    type: IO;
    pinId: string;
    ignored: boolean;
}, spec: GraphSpec) => GraphSpec;
export declare const setUnitOutputIgnored: ({ unitId, pinId, ignored, }: {
    unitId: string;
    pinId: string;
    ignored: boolean;
}, spec: GraphSpec) => void;
export declare const setUnitInputIgnored: ({ unitId, pinId, ignored, }: {
    unitId: string;
    pinId: string;
    ignored: boolean;
}, spec: GraphSpec) => void;
export declare const removeUnitPinData: ({ unitId, type, pinId }: {
    unitId: string;
    type: IO;
    pinId: string;
}, spec: GraphSpec) => void;
export declare const setMetadata: ({ path, value }: {
    path: string[];
    value: any;
}, spec: GraphSpec) => void;
export declare const setUnitMetadata: ({ id, path, value }: {
    id: string;
    path: string[];
    value: any;
}, spec: GraphSpec) => void;
