/**
 * One-call boot helper that drives the full skill pipeline:
 *
 *   1. Legacy loaders populate the existing registries:
 *      - CustomCommandLoader.loadCommands() (handles namespace recursion,
 *        directory-as-command, aliases, resources/)
 *      - SubagentLoader.initialize() (built-in + user + project layering)
 *      - ToolManager.initializeCustomTools() (file-based custom tools)
 *   2. Frontmatter `subscribe:` blocks on flat-form files are subscribed
 *      with the event router (the legacy loaders now carry `subscribe`
 *      through, so flat-form triggers fire end-to-end).
 *   3. BundleLoader loads bundle-form skills under .nanocoder/skills/.
 *   4. Registrar fans bundle members into the same registries the legacy
 *      loaders use, and subscribes their triggers with the event router.
 *   5. Skill envelopes are synthesized for every loaded member so
 *      `/skills` lists everything regardless of form.
 *
 * See `agents/2026-05-20-skills-unification-plan.md` step 21.
 */
import type { CustomCommandLoader } from '../custom-commands/loader.js';
import type { EventRouter } from '../events/event-router.js';
import { type SkillLoadError } from '../skills/bundle-loader.js';
import { type RegisterResult, type SkillCollision } from '../skills/registrar.js';
import type { SubagentLoader } from '../subagents/subagent-loader.js';
import type { ToolManager } from '../tools/tool-manager.js';
import type { Skill } from '../types/skills.js';
export interface SkillBootResult {
    skills: Skill[];
    loadErrors: SkillLoadError[];
    registration: RegisterResult;
    deprecations: string[];
}
export interface SkillBootOptions {
    projectRoot: string;
    toolManager: ToolManager;
    commandLoader: CustomCommandLoader;
    subagentLoader: SubagentLoader;
    eventRouter: EventRouter;
    /** Optional built-in bundle directory. */
    builtInBundleRoot?: string;
}
export declare function bootSkillPipeline(opts: SkillBootOptions): Promise<SkillBootResult>;
export type { SkillCollision };
//# sourceMappingURL=bootstrap.d.ts.map