/** * Concatenates a base URL (allowing protocol) and a path segment * * @param base - the base URL, e.g. "https://example.com/dav" * @param path - the path segment to concatenate, e.g. "test.txt" */ export declare function concatUrl(base: string, path: string): string; /** * URL encode the path of a decoded URL, leaving a potential origin untouched. * This must be used whenever a source is used for a request (as URL or `Destination` header). * * @param url - The decoded URL, either absolute ("https://example.com/dav/a b.txt") or a path ("/dav/a b.txt") */ export declare function encodeUrl(url: string): string;