import { NodeType } from "."; import IServiceResponse from "./IServiceResponse"; export interface IAnchor { nodeId: string anchorId: string label: string type: NodeType } export interface IAnchorGateway { createAnchor(anchor: IAnchor): Promise>; getAnchor(anchorId: string): Promise>; getNodeAnchors(nodeId: string): Promise>; deleteAnchor(anchorId: string): Promise>; deleteNodeAnchors(nodeId: string): Promise>; }