/** * @fileoverview Builds the CLI registry, bundling the standard plugin and * attempting to load optional formatter and media plugins when installed. * * Optional plugin resolution is best-effort: a missing plugin is not an error * here. Tools that declare `requiresOptionalPlugin` surface a * {@link PluginMissingError} when invoked. */ import { type RegistryVersion, type ToolRegistry } from '@textavia/core'; /** Builds a registry with the standard plugin and any installed optional plugins. */ export declare function buildCliRegistry(version: RegistryVersion): ToolRegistry; /** * Attempts to load an optional plugin package and register its tools. Returns * true when the plugin was loaded. Missing packages are ignored. */ export declare function loadOptionalPlugin(registry: ToolRegistry, packageName: string): Promise; //# sourceMappingURL=registry-builder.d.ts.map