/**
 * AI-Optimized Spec Loader Utility
 *
 * Loads SpecVerse YAML files and generates AIOptimizedSpec using:
 * 1. UnifiedSpecVerseParser - Handles YAML parsing, imports, conventions
 * 2. AIViewGenerator - Generates optimized spec with inference
 *
 * This utility eliminates duplicate parsing logic across all generators.
 */
export interface LoadOptions {
    deployment?: string;
    instance?: string;
    manifest?: any;
}
export interface ComponentMetadata {
    name: string;
    version: string;
    description?: string;
    tags?: string[];
    deployment?: string;
    instance?: string;
    manifest?: any;
}
export interface AIOptimizedSpec {
    metadata: {
        component: string;
        version: string;
        description?: string;
        tags?: string[];
        deployment?: string;
        instance?: string;
        manifest?: any;
    };
    models: any[];
    controllers: any[];
    services: any[];
    events: any[];
    views?: any[];
    infrastructure?: any;
}
/**
 * Load and generate AIOptimizedSpec from a SpecVerse YAML file
 */
export declare function loadAIOptimizedSpec(yamlFile: string, options?: LoadOptions): AIOptimizedSpec;
/**
 * Load AIOptimizedSpec with deployment filtering
 */
export declare function loadForDeployment(yamlFile: string, deploymentName: string, instanceName: string): AIOptimizedSpec;
/**
 * Load AIOptimizedSpec with manifest configuration
 */
export declare function loadWithManifest(yamlFile: string, manifestConfig: any): AIOptimizedSpec;
/**
 * Get component metadata from AIOptimizedSpec
 */
export declare function getComponentMetadata(spec: AIOptimizedSpec): ComponentMetadata;
/**
 * Get all models from AIOptimizedSpec
 */
export declare function getModels(spec: AIOptimizedSpec): any[];
/**
 * Get all controllers from AIOptimizedSpec
 */
export declare function getControllers(spec: AIOptimizedSpec): any[];
/**
 * Get all services from AIOptimizedSpec
 */
export declare function getServices(spec: AIOptimizedSpec): any[];
/**
 * Get all events from AIOptimizedSpec
 */
export declare function getEvents(spec: AIOptimizedSpec): any[];
/**
 * Get infrastructure requirements from AIOptimizedSpec
 */
export declare function getInfrastructure(spec: AIOptimizedSpec): any;
//# sourceMappingURL=ai-spec-loader.d.ts.map