import type { StxOptions } from './types';
/**
 * Unified component processing entry point.
 *
 * Processes all component-related syntax in the template in the correct order:
 * 1. Register builtin components (once)
 * 2. Process `@import` directives
 * 3. Process `@component` directives
 * 4. Process custom element tags (builtins and file-based)
 *
 * @param template - The template string to process
 * @param context - Template variable context
 * @param filePath - Absolute path of the template being processed
 * @param options - Compiler options
 * @param dependencies - Set to track file dependencies for cache invalidation
 * @returns The processed template with all components rendered
 */
export declare function processComponents(template: string, context: Record<string, any>, filePath: string, options: StxOptions, dependencies: Set<string>): Promise<string>;
