/** * Maps workspace demand signals to official marketplace and registry category * taxonomies. Used by the category-sweep harvest phase to guarantee complete * coverage of each relevant ecosystem segment (#291). * * Keys are normalized demand-signal tokens (languages, frameworks, concerns). * Values are the official category strings accepted by each marketplace's API. */ /** * Maps demand signal tokens to VS Code Marketplace category names. * Category names must exactly match the values accepted by `filterType: 5` * in the Gallery API. * * Full category list (Marketplace API, 2024): * AI | Azure | Chat | Data Science | Debuggers | Extension Packs | * Formatters | Keymaps | Language Packs | Linters | Machine Learning | * Notebooks | Other | Programming Languages | SCM Providers | Snippets | * Testing | Themes | Visualization */ export declare const DEMAND_TO_VSCODE_CATEGORIES: Readonly>; /** * VS Code Marketplace sort-by constants (as used in the Gallery API body). * @see https://learn.microsoft.com/en-us/azure/devops/extend/develop/extension-query */ export declare const VSCODE_SORT_BY: { /** Default / relevance */ readonly Relevance: 0; /** Last updated date */ readonly LastUpdatedDate: 1; /** Title alphabetical */ readonly Title: 2; /** Publisher name */ readonly PublisherName: 5; /** Install count (most installed first when sortOrder = Descending) */ readonly InstallCount: 4; /** Rating (highest rated first) */ readonly AverageRating: 6; /** Weekly download count */ readonly WeeklyDownloads: 12; }; /** Numeric sort-by value for the VS Code Marketplace Gallery API. */ export type VsCodeSortBy = (typeof VSCODE_SORT_BY)[keyof typeof VSCODE_SORT_BY]; /** Sort order constants for the VS Code Marketplace Gallery API. */ export declare const VSCODE_SORT_ORDER: { readonly Default: 0; readonly Ascending: 1; readonly Descending: 2; }; /** Numeric sort-order value for the VS Code Marketplace Gallery API. */ export type VsCodeSortOrder = (typeof VSCODE_SORT_ORDER)[keyof typeof VSCODE_SORT_ORDER]; /** * Resolves the set of VS Code Marketplace category names relevant to the * given demand signal tokens. Deduplicates the result. */ export declare function resolveVsCodeCategories(signals: readonly string[]): string[];