import type { CountLinksOptions, CountLinksResult } from './types.js'; /** * Counts and classifies anchor links from HTML content. * * Reports totals for internal/external links, `mailto`, `tel`, `nofollow`, * empty anchors, and invalid href values. * * When `baseUrl` is provided, relative and hash links can be classified as * internal links against that host. * * @param options - Link counting options. * @returns Link inventory with warning codes. * * @example * countLinks({ * html: 'Pricing', * baseUrl: 'https://example.com/blog/post', * }); */ export declare const countLinks: ({ html, baseUrl, }: CountLinksOptions) => CountLinksResult;