/** * Help Rendering System * Template-based rendering for help command output * @requirement REQ-V2-003 - Help system rendering */ import type { CommandHelp, Category, HelpOptions } from './help-types.js'; /** * Get package type (Core or Full Build) */ export declare function getPackageType(): 'core' | 'full'; /** * Filter commands by package type */ export declare function filterCommandsByPackage(commands: CommandHelp[], packageType: 'core' | 'full'): CommandHelp[]; /** * Filter categories by package type */ export declare function filterCategoriesByPackage(categories: Category[], packageType: 'core' | 'full'): Category[]; /** * Render box with title (Unicode box drawing with ASCII fallback) */ export declare function renderBox(title: string, content: string, packageType?: 'core' | 'full'): string; /** * Render a section with title and content */ export declare function renderSection(title: string, content: string[]): string; /** * Render a category with its commands */ export declare function renderCategory(category: Category, commands: CommandHelp[]): string; /** * Render command-specific help */ export declare function renderHelp(data: CommandHelp, format?: 'text' | 'json'): string; /** * Render general help (all commands) */ export declare function renderGeneralHelp(categories: Category[], commands: CommandHelp[], packageType: 'core' | 'full', options: HelpOptions): string;