/** * Profile loader registry for profile-dependent feature installation * Singleton registry that manages loaders for features that depend on profile composition */ import type { Config } from "../../../../cli/config.js"; import type { ValidationResult } from "../../../../cli/features/agentRegistry.js"; /** * Profile loader interface for profile-dependent feature installation * Uses 'install' instead of 'run' to distinguish from main loaders */ export type ProfileLoader = { name: string; description: string; install: (args: { config: Config; }) => Promise; uninstall: (args: { config: Config; }) => Promise; validate?: (args: { config: Config; }) => Promise; }; /** * Registry singleton for managing profile loaders */ export declare class ProfileLoaderRegistry { private static instance; private loaders; private constructor(); /** * Get the singleton instance * @returns The ProfileLoaderRegistry singleton instance */ static getInstance(): ProfileLoaderRegistry; /** * Get all registered profile loaders * @returns Array of all profile loaders */ getAll(): Array; /** * Get all registered profile loaders in reverse order (for uninstall) * @returns Array of all profile loaders in reverse order */ getAllReversed(): Array; } //# sourceMappingURL=profileLoaderRegistry.d.ts.map