/** * Configuration resolver - converts config references to actual plugins/extractors */ import type { ExampleMetadata, ResolvedConfig } from '../types/index.js'; import type { ConfigWithRoot } from './types.js'; export type { ConfigValidationError, ResolvedConfig } from '../types/index.js'; /** * Resolve a configuration to actual plugin and extractor instances. * * Plugin resolution follows this priority: * 1. If `config.plugins` contains Plugin instances (from TS configs), use directly * 2. If `config.plugins` contains string/tuple references (from JSON configs), * resolve them by dynamically importing the package and calling its factory * 3. If no plugins specified at all, auto-detect installed plugin packages * * @example * ```typescript * import { resolveConfig } from 'functional-examples'; * * // Auto-detect plugins from installed packages * const config = await resolveConfig({ root: './examples' }); * * // Use with scanExamples * const result = await scanExamples(config); * ``` */ export declare function resolveConfig(config: ConfigWithRoot): Promise>; //# sourceMappingURL=resolver.d.ts.map