gpml2pvjson
Version:
convert GPML (XML) to pvjson (json)
18 lines (17 loc) • 1.38 kB
TypeScript
/// <reference types="lodash" />
import { Point, PvjsonNode, PvjsonSingleFreeNode, PvjsonBurr, PvjsonEdge, PvjsonGroup, PvjsonEntity, AttachablePoint } from "./gpml2pvjson";
export * from "./geom-utils";
export * from "./spinoffs/jsonld-utils";
export declare function generatePublicationXrefId(originalId: string): string;
export declare const insertIfNotExists: import("lodash").CurriedFunction2<unknown, unknown, unknown[]>;
export declare function isAttachablePoint(pvjsonPoint: Point | AttachablePoint): pvjsonPoint is AttachablePoint;
export declare function isDefinedCXML(x: any): boolean;
export declare function isPvjsonBurr(entity: PvjsonEntity): entity is PvjsonBurr;
export declare function isPvjsonGroup(entity: PvjsonEntity): entity is PvjsonGroup;
export declare function isPvjsonSingleFreeNode(entity: PvjsonEntity): entity is PvjsonSingleFreeNode;
export declare function isPvjsonNode(entity: PvjsonEntity): entity is PvjsonNode;
export declare function isPvjsonEdge(entity: PvjsonEntity): entity is PvjsonEdge;
export declare function isPvjsonEdgeOrBurr(entity: PvjsonEntity): entity is PvjsonEdge | PvjsonBurr;
export declare function isGPMLAnchor(entity: PvjsonEntity): entity is PvjsonBurr;
export declare const sortByMap: import("lodash").CurriedFunction2<Record<string, number>, string[], string[]>;
export declare const supportedNamespaces: string[];