export type ParsedParameters = Record; /** * Helper class for working with Camel URIs */ export declare class CamelUriHelper { private static readonly URI_SEPARATORS_REGEX; private static readonly KNOWN_URI_MAP; static getUriString(value: T | undefined | null): string | undefined; /** Transform the path string portion of a URI `atmosphere-websocket://localhost:8080/echo`, into a key-value object */ static getParametersFromPathString(uriSyntax?: string, uriString?: string, options?: { requiredParameters?: string[]; }): ParsedParameters; /** Transform the query string portion of a URI `param1=12¶m2=hey`, into a key-value object */ static getParametersFromQueryString(queryString?: string): ParsedParameters; /** * Write the appropriate parameters in the URI string, and * and keep the parameters that are not present in the URI syntax */ static getUriStringFromParameters(originalUri: string, uriSyntax: string, parameters?: ParsedParameters, options?: { requiredParameters?: string[]; defaultValues?: ParsedParameters; }): { uri: string; parameters: ParsedParameters | undefined; }; /** * Remove the scheme from the URI syntax: * 'avro:transport:host:port/messageName' => { schema: 'avro', syntax: 'transport:host:port/messageName' } */ private static getSyntaxWithoutSchema; /** Remove the scheme from the URI string: 'avro:netty:localhost:41414/foo' => 'netty:localhost:41414/foo' */ private static getUriWithoutScheme; /** Remove parts from URI for known components, particularly for URL-relate components */ private static cleanUriParts; /** Return a new object ignoring the parameters from the `keys` array*/ private static filterParameters; }