/********************************************************************************
 * Copyright (c) 2022-2023 STMicroelectronics and others.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the Eclipse
 * Public License v. 2.0 are satisfied: GNU General Public License, version 2
 * with the GNU Classpath Exception which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 ********************************************************************************/
import { GCompartment, GEdge, GEdgeBuilder, GLabel, GNode, GNodeBuilder } from '@eclipse-glsp/server';
export declare class ActivityNode extends GNode {
    nodeType: string;
    static builder(): ActivityNodeBuilder;
}
export declare class ActivityNodeBuilder<T extends ActivityNode = ActivityNode> extends GNodeBuilder<T> {
    nodeType(nodeType: string): this;
}
export declare class TaskNode extends GNode {
    name: string;
    duration: number;
    taskType: string;
    references: string;
    static builder(): TaskNodeBuilder;
}
export declare class TaskNodeBuilder<T extends TaskNode = TaskNode> extends GNodeBuilder<T> {
    name(name: string): this;
    duration(duration: number): this;
    taskType(tasktype: string): this;
    references(references: string): this;
    children(): this;
    build(): T;
    protected createCompartmentHeader(): GLabel;
    protected createCompartmentIcon(): GCompartment;
}
export declare class WeightedEdge extends GEdge {
    probability?: string;
    static builder(): WeightedEdgeBuilder;
}
export declare class WeightedEdgeBuilder<E extends WeightedEdge = WeightedEdge> extends GEdgeBuilder<E> {
    probability(probability: string): this;
}
export declare class Category extends ActivityNode {
    name: string;
    static builder(): CategoryNodeBuilder;
}
export declare class CategoryNodeBuilder<T extends Category = Category> extends ActivityNodeBuilder<T> {
    name(name: string): this;
    children(): this;
    protected createLabelCompartment(): GCompartment;
    protected createCompartmentHeader(): GLabel;
    protected createStructCompartment(): GCompartment;
}
//# sourceMappingURL=graph-extension.d.ts.map