/** * Sanitizes and formats a given href string. * * This function checks if the provided href is a non-null string and trims it. * It supports hrefs that start with "mailto:", "tel:", or "/", returning them as is. * If the href is a valid email, it prefixes it with "mailto:". If it's a valid phone number, * it prefixes it with "tel:". Otherwise, returns the trimmed href. * * @param {string} [href] - The href string to sanitize. * @returns {string} - The sanitized and potentially prefixed href. */ export declare const sanitizeHref: (href?: string) => string;