import { RouteDefinition, EnhancedComponent, ServerActionDefinition } from "../types";
/**
 * Route Generator
 * Generates Next.js App Router routes based on component hierarchy
 */
export declare class RouteGenerator {
    /**
     * Generate routes for a component
     */
    generateRoutes(component: EnhancedComponent, level: number, parentPath?: string): Promise<RouteDefinition[]>;
    /**
     * Generate root route
     */
    private generateRootRoute;
    /**
     * Generate feature route
     */
    private generateFeatureRoute;
    /**
     * Generate form routes (create, edit)
     */
    private generateFormRoutes;
    /**
     * Generate dynamic route
     */
    private generateDynamicRoute;
    /**
     * Generate route metadata from component and actions
     */
    generateRouteMetadata(component: EnhancedComponent, actions: ServerActionDefinition[]): RouteDefinition["metadata"];
    /**
     * Determine if component needs a dynamic route
     */
    private needsDynamicRoute;
    /**
     * Collect all component names from hierarchy
     */
    private collectComponentNames;
    /**
     * Extract base name from component name (e.g., "ProductForm" -> "Product")
     */
    private extractBaseName;
    /**
     * Helper: Convert to kebab-case
     */
    private toKebabCase;
    /**
     * Generate layout file content for route
     */
    generateLayoutContent(component: EnhancedComponent, childRoutes: RouteDefinition[]): string;
    /**
     * Generate page file content for route
     */
    generatePageContent(component: EnhancedComponent, route: RouteDefinition): string;
}
//# sourceMappingURL=routeGenerator.d.ts.map