import { OnException } from '@kaoto-next/camel-catalog/types'; import { DefinedComponent } from '../../camel-catalog-index'; import { EntityType } from '../../camel/entities/base-entity'; import { AddStepMode, BaseVisualCamelEntity, IVisualizationNode, IVisualizationNodeData, NodeInteraction, VisualComponentSchema } from '../base-visual-entity'; export declare class CamelOnExceptionVisualEntity implements BaseVisualCamelEntity { onExceptionDef: { onException: OnException; }; id: string; readonly type = EntityType.OnException; private static readonly ROOT_PATH; constructor(onExceptionDef: { onException: OnException; }); static isApplicable(onExceptionDef: unknown): onExceptionDef is { onException: OnException; }; getId(): string; setId(id: string): void; getNodeLabel(path?: string): string; getTooltipContent(path?: string): string; getComponentSchema(path?: string | undefined): VisualComponentSchema | undefined; updateModel(path: string | undefined, value: unknown): void; /** * Add a step to the route * * path examples: * from * from.steps.0.setHeader * from.steps.1.choice.when.0 * from.steps.1.choice.when.0.steps.0.setHeader * from.steps.1.choice.otherwise * from.steps.1.choice.otherwise.steps.0.setHeader * from.steps.2.doTry.doCatch.0 * from.steps.2.doTry.doCatch.0.steps.0.setHeader */ addStep(options: { definedComponent: DefinedComponent; mode: AddStepMode; data: IVisualizationNodeData; targetProperty?: string; }): void; removeStep(path?: string): void; getNodeInteraction(data: IVisualizationNodeData): NodeInteraction; getNodeValidationText(path?: string | undefined): string | undefined; toVizNode(): IVisualizationNode; toJSON(): unknown; private insertChildStep; }