/** * Strip trailing slash(es) from a URL, leaving the rest of the path intact. * Base URLs are appended to as `${trimTrailingSlashes(base)}/api/...`, so a * configured value ending in `/` must not produce a doubled `//`. * * Distinct from `normalizeDashboardUrl` in config.ts, which reduces a value * to its origin (dropping any path, query, or fragment); this preserves the * path and only trims the trailing slash(es). */ export declare function trimTrailingSlashes(url: string): string; //# sourceMappingURL=url.d.ts.map