import { ProcessorDefinition } from '@kaoto-next/camel-catalog/types'; import { ParsedParameters } from '../../../../utils'; import { VisualComponentSchema } from '../../base-visual-entity'; import { CamelProcessorStepsProperties, ICamelElementLookupResult } from './camel-component-types'; export declare class CamelComponentSchemaService { static DISABLED_SIBLING_STEPS: string[]; static getVisualComponentSchema(path: string, definition: any): VisualComponentSchema | undefined; static getCamelComponentLookup(path: string, definition: any): ICamelElementLookupResult; static getNodeLabel(camelElementLookup: ICamelElementLookupResult, definition?: any): string; static getTooltipContent(camelElementLookup: ICamelElementLookupResult): string; static canHavePreviousStep(processorName: keyof ProcessorDefinition): boolean; static getProcessorStepsProperties(processorName: keyof ProcessorDefinition): CamelProcessorStepsProperties[]; static getIconName(camelElementLookup: ICamelElementLookupResult): string | undefined; static getUriSerializedDefinition(path: string, definition: any): ParsedParameters | undefined; /** * If the processor is a `from` or `to` processor, we need to extract the component name from the uri property * and return both the processor name and the underlying component name to build the combined schema */ private static getCamelElement; /** * Extract the component name from the endpoint uri * An URI is composed by a component name and query parameters, separated by a colon * For instance: * - `log:MyLogger` * - `timer:tick?period=1000` * - `file:inbox?fileName=orders.txt&noop=true` * - `kamelet:kafka-not-secured-sink?topic=foobar&bootstrapServers=localhost` */ static getComponentNameFromUri(uri: string): string | undefined; private static getSchema; private static getUpdatedDefinition; private static applyParametersFromSyntax; }