import * as rpc from "vscode-jsonrpc/node"; import { CategoryDescriptor, RecipeMarketplace } from "../../marketplace"; import { RecipeDescriptor } from "../../recipe"; export interface GetMarketplaceResponseRow { readonly descriptor: RecipeDescriptor; readonly categoryPaths: CategoryDescriptor[][]; /** * The package this recipe was contributed by, recorded at install time. Lets the host attribute * each row to its own bundle instead of force-tagging every row with the one requested bundle. * Undefined for recipes installed from a local path (no package identity). */ readonly packageName?: string; } /** * Converts GetMarketplace response rows into a hydrated RecipeMarketplace. * This is used by the RPC client to reconstruct the marketplace structure. */ export declare function toMarketplace(rows: GetMarketplaceResponseRow[]): Promise; export declare class GetMarketplace { static handle(connection: rpc.MessageConnection, marketplace: RecipeMarketplace, recipeOrigin: Map, metricsCsv?: string): void; } //# sourceMappingURL=get-marketplace.d.ts.map