/** * Marketplace Rules Installer * Downloads and installs community rules */ import type { InstalledRule } from './types.js'; export declare class RulesInstaller { private registry; private projectRoot; constructor(projectRoot: string); /** * Install a rule from the marketplace */ install(ruleId: string, version?: string): Promise; /** * Install a package (collection of rules) */ installPackage(packageId: string): Promise; /** * Uninstall a rule */ uninstall(ruleId: string): Promise; /** * List installed rules */ listInstalled(): Promise; /** * Update installed rules to latest versions */ updateAll(): Promise<{ updated: string[]; failed: string[]; }>; /** * Enable/disable a rule */ toggleRule(ruleId: string, enabled: boolean): Promise; /** * Convert marketplace rule to vlayer custom rule format */ private convertToCustomRule; /** * Generate YAML from rule object */ private generateYAML; /** * Ensure marketplace directory exists */ private ensureMarketplaceDir; /** * Track installation in installed.json */ private trackInstallation; /** * Remove from installed tracking */ private removeFromInstalled; /** * Save installed rules list */ private saveInstalled; } //# sourceMappingURL=installer.d.ts.map