/** Search result from npm registry. */ export interface MarketplaceEntry { readonly name: string; readonly version: string; readonly description: string; } /** Category of marketplace package. */ export type MarketplaceCategory = 'extension' | 'preset'; /** * Search npm for packages matching `query` and `category`. * Returns parsed results from `npm search --json`. */ export declare function searchMarketplace(query: string, category: MarketplaceCategory): readonly MarketplaceEntry[]; /** * Install an npm package into the project. */ export declare function npmInstall(packageName: string, cwd: string): void; /** * Remove an npm package from the project. */ export declare function npmRemove(packageName: string, cwd: string): void; //# sourceMappingURL=marketplace.d.ts.map