import { IWxCCFlowchart, IWxCCJSON, IWxCCNonIRJSON, WxCCFlowchartEdge, WxCCFlowchartNode } from "../types/wxcc"; import { ExtendedActivity } from "../types/extended-activity"; import * as i0 from "@angular/core"; export declare class WxCC2GraphService { wxccJSON: IWxCCJSON; wxccNonIRJSON: IWxCCNonIRJSON; parseWxCC(wxcc: IWxCCJSON, nonIr?: IWxCCNonIRJSON): IWxCCFlowchart; setSourceDocuments(ir: IWxCCJSON, nonIr: IWxCCNonIRJSON): void; updateActivityData(data: ExtendedActivity): boolean; /** * Add a new activity to the graph */ addActivity(activity: ExtendedActivity): WxCCFlowchartNode; /** * Remove an activity and all its connected links */ removeActivity(activityId: string): { removedLinkIds: string[]; }; /** * Add a new link between two activities */ addLink(sourceActivityId: string, targetActivityId: string, label?: string): WxCCFlowchartEdge; /** * Remove a link by its id */ removeLink(linkId: string): boolean; /** * Check if a link already exists between two nodes */ linkExists(sourceActivityId: string, targetActivityId: string): boolean; /** * Get all activities for selection purposes */ getAllActivities(): ExtendedActivity[]; getActivityById(id: string): ExtendedActivity | undefined; generateId(): string; private toWxCCNode; private toWxCCEdge; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }