import type { Alternate } from "../meta";
/**
 * Detects MIME type for favicon based on file extension.
 *
 * Supports common favicon formats: SVG, PNG, ICO, JPG/JPEG.
 * Handles URLs with query parameters or fragments by extracting clean extension.
 *
 * @param faviconSrc - Favicon file path or URL
 * @returns MIME type string (e.g., 'image/svg+xml') or undefined if extension is unknown/empty
 *
 * @example
 * ```typescript
 * getFaviconType('favicon.ico') // 'image/x-icon'
 * getFaviconType('favicon.png?v=123') // 'image/png'
 * getFaviconType('unknown.bmp') // undefined
 * ```
 */
export declare function getFaviconType(faviconSrc: string): string | undefined;
export declare function compareAlternates(a: Alternate, b: Alternate): number;
