/**
 * Script Registry
 *
 * Provides discovery and management of script templates.
 * Supports both .bs and .fcs extensions.
 *
 * Migrated from src/fcs/script-registry.ts
 */
export interface ScriptTemplate {
    name: string;
    path: string;
    category: string;
    description: string;
    usage?: string;
    envVars?: string[];
}
export interface ScriptCategory {
    name: string;
    description: string;
    scripts: ScriptTemplate[];
}
/**
 * Registry of available script templates
 */
export declare class ScriptRegistry {
    private templates;
    private categories;
    private templatesDir;
    constructor(templatesDir?: string);
    /**
     * Load all templates from the templates directory
     */
    loadTemplates(): Promise<void>;
    /**
     * Check if a filename is a script file
     */
    private isScriptFile;
    /**
     * Load scripts from a category directory
     */
    private loadCategoryScripts;
    /**
     * Parse a template file to extract metadata
     */
    private parseTemplate;
    getTemplates(): ScriptTemplate[];
    getTemplatesByCategory(category: string): ScriptTemplate[];
    getCategories(): ScriptCategory[];
    getTemplate(name: string): ScriptTemplate | undefined;
    searchTemplates(keyword: string): ScriptTemplate[];
    formatTemplateList(): string;
}
export declare function getScriptRegistry(): ScriptRegistry;
export declare function initScriptRegistry(templatesDir?: string): Promise<ScriptRegistry>;
