import { CamelRouteVisualEntity } from '../models/visualization/flows'; /** * This is a stub Camel Route in YAML format. * It is used to test the Canvas component. */ export declare const camelRouteYaml = "\n- route:\n id: route-8888\n from:\n uri: timer:tutorial\n steps:\n - set-header:\n simple: \"${random(2)}\"\n name: myChoice\n - choice:\n when:\n - simple: \"${header.myChoice} == 1\"\n steps:\n - log:\n id: log-1\n message: We got a one.\n otherwise:\n steps:\n - to:\n uri: 'amqp:queue:'\n - to:\n uri: 'amqp:queue:'\n - log:\n id: log-2\n message: \"We got a ${body}\"\n - to:\n uri: direct:my-route\n parameters:\n bridgeErrorHandler: true\n"; /** * This is a stub Camel Route in JSON format. * It is used to test the Canvas component. */ export declare const camelRouteJson: { route: { id: string; from: { uri: string; steps: ({ 'set-header': { simple: string; name: string; }; choice?: undefined; to?: undefined; } | { choice: { when: { simple: string; steps: { log: { id: string; message: string; }; }[]; }[]; otherwise: { steps: ({ to: { uri: string; }; log?: undefined; } | { log: { id: string; message: string; }; to?: undefined; })[]; }; }; 'set-header'?: undefined; to?: undefined; } | { to: { uri: string; parameters: { bridgeErrorHandler: boolean; }; }; 'set-header'?: undefined; choice?: undefined; })[]; }; }; }; export declare const camelRoute: CamelRouteVisualEntity;