UNPKG

legal-markdown-js

Version:

Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version

36 lines 1.14 kB
/** * Plugin Metadata Registry * * Central registry of all remark plugin metadata declarations. * This file defines the dependencies and execution order constraints for all plugins. * * @module plugins/remark/plugin-metadata-registry */ import type { PluginMetadata, PluginMetadataRegistry } from './types.js'; /** * Global plugin metadata registry * * This registry is used by the PluginOrderValidator to validate plugin order. */ export declare const GLOBAL_PLUGIN_REGISTRY: PluginMetadataRegistry; /** * Get metadata for a specific plugin * * @param pluginName - Name of the plugin * @returns Plugin metadata or undefined if not found */ export declare function getPluginMetadata(pluginName: string): PluginMetadata | undefined; /** * Get all registered plugin names * * @returns Array of plugin names */ export declare function getAllPluginNames(): string[]; /** * Check if a plugin is registered * * @param pluginName - Name of the plugin * @returns True if plugin is registered */ export declare function isPluginRegistered(pluginName: string): boolean; //# sourceMappingURL=plugin-metadata-registry.d.ts.map