export interface SearchableCatalogEntry {
    name: string;
    version: string;
    updatedAt?: string;
    title?: string;
    description?: string;
}
export interface RankedCatalogEntry<T extends SearchableCatalogEntry> {
    entry: T;
    rank: number;
}
export declare function collectCatalogSearchResult<T extends SearchableCatalogEntry>(results: Map<string, RankedCatalogEntry<T>>, entry: T, query: string): void;
export declare function getSortedCatalogSearchResults<T extends SearchableCatalogEntry>(results: Map<string, RankedCatalogEntry<T>>, limit: number): T[];
export declare function getSortedVersions(versions: Iterable<string>): string[];
//# sourceMappingURL=search-ranking.d.ts.map