/** * Marketplace - Search, install, and manage photons * @description Browse and manage photon marketplace * @internal * @icon 🏪 */ export default class Marketplace { constructor(_workingDir?: string); /** * Search marketplace for photons * @param query Search query string */ static search({ query }: { query: string; }): Promise>; /** * Install a photon from marketplace * @param name Name of the photon to install */ static install({ name }: { name: string; }): AsyncGenerator<{ emit: string; message?: string; value?: any; name?: string; path?: string; version?: string; }>; /** * Upgrade an installed photon to latest version * @param name Name of the photon to upgrade */ static upgrade({ name }: { name: string; }): AsyncGenerator<{ emit: string; message?: string; value?: any; currentVersion?: string; newVersion?: string; }>; /** * Check all installed photons for available updates * @autorun */ static checkUpdates(): Promise>; /** * List configured marketplace sources * @autorun */ static listSources(): Promise>; /** * Add a marketplace source * @param source Git URL or local path to marketplace */ static addSource({ source, }: { source: string; }): Promise<{ name: string; added: boolean; }>; /** * Remove a marketplace source * @param name Name of the marketplace source to remove */ static removeSource({ name }: { name: string; }): Promise<{ removed: boolean; }>; /** * Synchronize marketplace manifest and documentation */ static sync(): AsyncGenerator<{ emit: string; message?: string; value?: any; [key: string]: any; }>; /** * Initialize current directory as a photon marketplace */ static init(): AsyncGenerator<{ emit: string; message?: string; value?: any; created?: string; }>; } //# sourceMappingURL=marketplace.photon.d.ts.map