import { Spec, Specs } from '../../types';
import { IO } from '../../types/IO';
export declare const SEPARATOR = "/";
export declare const LINK_SEPARATOR = "_";
export declare const INPUT = "input";
export declare const OUTPUT = "output";
export declare const MERGE = "@";
export declare const DATA = "#";
export declare const TYPE = "$";
export declare const EXTERNAL = "%";
export declare const INTERNAL = "^";
export declare const COMPONENT = "&";
export declare const ERR = "!";
export declare const idRegex: RegExp;
export declare const nodeIdRegex: RegExp;
export declare const unitIdRegex: RegExp;
export declare const pinIdRegex: RegExp;
export declare const inputIdRegex: RegExp;
export declare const outputIdRegex: RegExp;
export declare const dataRegex: RegExp;
export declare const metadataRegex: RegExp;
export declare const mergeRegex: RegExp;
export declare const externalRegex: RegExp;
export declare const internalRegex: RegExp;
export declare const linkRegex: RegExp;
export declare function getUnitIdFromId(id: string): string;
export declare function getDatumNodeIdFromDatumLinkId(linkId: string): string;
export declare function getUnitIdFromPinId(id: string): string;
export declare function getTypeFromLinkPinNodeId(id: string): IO;
export declare function getPinIdFromLinkPinNodeId(nodeId: string): string;
export declare function getIdFromDatumNodeId(nodeId: string): string;
export declare function getPinIdClass(id: string): string;
export declare const getPinNodeId: (unitId: string, type: IO, pinId: string) => string;
export declare const getPinNodeId_: (unitId: string) => (type: IO, pinId: string) => string;
export declare const getPinNodeId__: (unitId: string, type: IO) => (pinId: string) => string;
export declare function getInputNodeId(unitId: string, pinId: string): string;
export declare function getOutputNodeId(unitId: string, pinId: string): string;
export declare function getSelfPinNodeId(unitId: string): string;
export declare const getComponentNodeId: (unitId: string) => string;
export declare function getBoundaryNodeId(unitId: string, pinId: string): string;
export declare function getNodeLabelId(id: string): string;
export declare function getLinkId(source: string, targetId: string): string;
export declare function getPinLinkId(unitId: string, type: IO, pinId: string): string;
export declare function getComponentLinkId(unitId: string): string;
export declare function getPinLinkIdFromPinNodeId(pinNodeId: string): string;
export declare function isNodeId(id: string): boolean;
export declare function isInternalNodeId(id: string): boolean;
export declare function isOutputPinId(id: string): boolean;
export declare function isUnitNodeId(nodeId: string): boolean;
export declare function isPinId(id: string): boolean;
export declare function getUnitIdFromNodeId(nodeId: string): string;
export declare function isLinkId(id: string): boolean;
export declare function isPinLinkId(id: string): boolean;
export declare function isDatumLinkId(id: string): boolean;
export declare function isMetaLinkId(id: string): boolean;
export declare function isExternalLinkId(id: string): boolean;
export declare function getErrNodeId(unit_id: string): string;
export declare function segmentErrNodeId(errNodeId: string): {
    unitId: string;
};
export declare function segmentLinkPinNodeId(pinNodeId: string): {
    unitId: string;
    pinId: string;
    type: IO;
};
export declare function segmentLinkId(linkId: string): {
    source: string;
    target: string;
};
export declare function segmentPinLinkId(linkId: string): {
    unitId: string;
    pinNodeId: string;
};
export declare function segmentDatumLinkId(linkId: string): {
    datumNodeId: string;
    pinNodeId: string;
};
export declare function segmentMetaLinkId(linkId: string): {
    nodeId: string;
    metadataNodeId: string;
};
export declare function segmentExternalLinkId(linkId: string): {
    externalNodeId: string;
    nodeId: string;
};
export declare function getPinNodeIdFromPinLinkId(linkId: string): string;
export declare function getUnitIdFromPinLinkId(linkId: string): string;
export declare function isInputPinId(id: string): boolean;
export declare function isPinNodeId(id: string): boolean;
export declare function isLinkPinNodeId(id: string): boolean;
export declare function isErrPinId(pinNodeId: string): boolean;
export declare function segmentCount(path: string): number;
export declare function getSelectionId(nodeId: string, type: string): string;
export declare function sameUnit(id0: string, id1: string): boolean;
export declare function getDatumNodeId(id: string): string;
export declare function isDatumNodeId(nodeId: string): boolean;
export declare function segmentDatumNodeId(datumNodeId: string): {
    id: string;
};
export declare function getMetadataNodeId(nodeId: string, id: string): string;
export declare function getTypeNodeId(nodeId: string): string;
export declare function isMetadataNodeId(nodeId: string): boolean;
export declare function segmentMetadataId(metadataNodeId: string): {
    nodeId: string;
    id: string;
};
export declare function getMergeNodeId(id: string): string;
export declare function isMergeNodeId(id: string): boolean;
export declare function segmentMergeNodeId(mergeNodeId: string): {
    mergeId: string;
};
export declare function getIdFromMergeNodeId(mergeNodeId: string): string;
export declare function getExtNodeId(type: IO, id: string, subPinId: string): string;
export declare function getExtNodeIdFromIntNodeId(intNodeId: string): string;
export declare function getIntNodeIdFromExtNodeId(ext_node_id: string): string;
export declare function getIntNodeId(type: IO, id: string, subPinId: string): string;
export declare function isExternalNodeId(id: string): boolean;
export declare function segmentPlugNodeId(exposedNodeId: string): {
    pinId: string;
    type: IO;
    subPinId: string;
};
export declare function segmentInternalNodeId(internalNodeId: string): {
    pinId: string;
    type: IO;
    subPinId: string;
};
export declare const rangeArray: (n: number) => number[];
export declare const harmonicArray: (n: number) => number[];
export declare function isBaseSpecId(specs: Specs, id: string): boolean;
export declare function isBaseSpec(spec: Spec): boolean;
export declare const numberOrDefault: (n: any, def: number) => number;
export declare function kebabToCamel(str: string): string;
export declare function camelToKebab(str: string): string;
export declare function camelToSnake(str: string): string;
export declare function kebabCase(str: string): string;
