UNPKG

1.38 kBTypeScriptView Raw
1/// <reference types="lodash" />
2import { Point, PvjsonNode, PvjsonSingleFreeNode, PvjsonBurr, PvjsonEdge, PvjsonGroup, PvjsonEntity, AttachablePoint } from "./gpml2pvjson";
3export * from "./geom-utils";
4export * from "./spinoffs/jsonld-utils";
5export declare function generatePublicationXrefId(originalId: string): string;
6export declare const insertIfNotExists: import("lodash").CurriedFunction2<unknown, unknown, unknown[]>;
7export declare function isAttachablePoint(pvjsonPoint: Point | AttachablePoint): pvjsonPoint is AttachablePoint;
8export declare function isDefinedCXML(x: any): boolean;
9export declare function isPvjsonBurr(entity: PvjsonEntity): entity is PvjsonBurr;
10export declare function isPvjsonGroup(entity: PvjsonEntity): entity is PvjsonGroup;
11export declare function isPvjsonSingleFreeNode(entity: PvjsonEntity): entity is PvjsonSingleFreeNode;
12export declare function isPvjsonNode(entity: PvjsonEntity): entity is PvjsonNode;
13export declare function isPvjsonEdge(entity: PvjsonEntity): entity is PvjsonEdge;
14export declare function isPvjsonEdgeOrBurr(entity: PvjsonEntity): entity is PvjsonEdge | PvjsonBurr;
15export declare function isGPMLAnchor(entity: PvjsonEntity): entity is PvjsonBurr;
16export declare const sortByMap: import("lodash").CurriedFunction2<Record<string, number>, string[], string[]>;
17export declare const supportedNamespaces: string[];