export type ImportSourceBinary = 'claude-code' | 'codex'; export declare const KNOWN_IMPORT_BINARIES: readonly ImportSourceBinary[]; export interface ImportAssetToggles { plugins: boolean; skills: boolean; mcp: boolean; } export type ImportFromConfig = Partial>; export type ImportedSkillOrigin = `imported:${ImportSourceBinary}`; export type McpConfigFormat = 'json' | 'toml'; export type SourceEnabledMap = ReadonlyMap; export declare const KNOWN_SOURCE_LABELS: Record; export declare function parseImportFromConfig(raw: unknown): ImportFromConfig | undefined; export declare function importFromConfigPaths(): string[]; export declare function loadImportFromConfig(configPaths?: readonly string[]): ImportFromConfig | undefined; export interface ResolvedImportRoots { pluginRoots: Array<{ dir: string; binary: ImportSourceBinary; }>; skillRoots: Array<{ dir: string; origin: ImportedSkillOrigin; }>; mcpConfigs: Array<{ source: string; format: McpConfigFormat; }>; } export declare function resolveImportedRoots(config: ImportFromConfig | undefined, home?: string): ResolvedImportRoots; export declare function readSourceEnabledState(binary: ImportSourceBinary, home?: string): SourceEnabledMap; export interface DetectedAsset { name: string; path: string; } export interface DetectedMcpServer { name: string; command: string; } export interface DetectedSource { binary: ImportSourceBinary; label: string; present: boolean; plugins: DetectedAsset[]; skills: DetectedAsset[]; mcpServers: DetectedMcpServer[]; mcpConfigPath: string | null; mcpFormat: McpConfigFormat; } export declare function detectSources(home?: string): DetectedSource[]; export declare function readMcpServers(path: string, format: McpConfigFormat): DetectedMcpServer[];