UNPKG

1.47 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 { arrayify, getValuesLSV, intersectsLSV, unionLSV } from "./spinoffs/jsonld-utils";
6export declare function generatePublicationXrefId(originalId: string): string;
7export declare const insertIfNotExists: import("lodash").CurriedFunction2<unknown, unknown, unknown[]>;
8export declare function isAttachablePoint(pvjsonPoint: Point | AttachablePoint): pvjsonPoint is AttachablePoint;
9export declare function isDefinedCXML(x: any): boolean;
10export declare function isPvjsonBurr(entity: PvjsonEntity): entity is PvjsonBurr;
11export declare function isPvjsonGroup(entity: PvjsonEntity): entity is PvjsonGroup;
12export declare function isPvjsonSingleFreeNode(entity: PvjsonEntity): entity is PvjsonSingleFreeNode;
13export declare function isPvjsonNode(entity: PvjsonEntity): entity is PvjsonNode;
14export declare function isPvjsonEdge(entity: PvjsonEntity): entity is PvjsonEdge;
15export declare function isPvjsonEdgeOrBurr(entity: PvjsonEntity): entity is PvjsonEdge | PvjsonBurr;
16export declare function isGPMLAnchor(entity: PvjsonEntity): entity is PvjsonBurr;
17export declare const sortByMap: import("lodash").CurriedFunction2<Record<string, number>, string[], string[]>;
18export declare const supportedNamespaces: string[];