/** * Removes a leading slash (`/`) from a given URL or path string if it exists. * * - If the string starts with a slash, it is removed. * - If the string does not start with a slash, it is returned unchanged. * - If the string is empty, an empty string is returned. * * @param url - The URL or path to normalize. * @returns The string without a leading slash. * * @example * removeLeadingSlash('/about'); // "about" * removeLeadingSlash('about'); // "about" * removeLeadingSlash(''); // "" */ export declare function removeLeadingSlash(url: string): string; //# sourceMappingURL=remove-leading-slash.d.ts.map