import type { ApiDescriptionInfo } from '../../types.js'; /** The form the API lookup compares titles in, so a collision here is a collision there. */ export declare function apiTitleKey(name: string): string; /** How many APIs carry each title, keyed by `apiTitleKey`, so a shared title is detectable. */ export declare function countApiTitles(apis: ApiDescriptionInfo[]): Map; /** The highest version, then the shortest path, so the same catalog always yields the same pick. */ export declare function compareApiDescriptions(a: ApiDescriptionInfo, b: ApiDescriptionInfo): number; /** * Orders the APIs that share a title the way a name lookup picks, so code that takes the first * matching item gets the same definition. Each title keeps the positions it already occupied, * so no other API moves. */ export declare function orderSharedTitles(apis: ApiDescriptionInfo[]): ApiDescriptionInfo[]; //# sourceMappingURL=api-titles.d.ts.map