/**
 * React Frontend Generator
 * Generates React components with TypeScript from workflow definitions
 */
import { FrontendGenerator, GeneratorContext, GenerationResult, GeneratedFile } from '../types';
export declare class ReactGenerator implements FrontendGenerator {
    id: string;
    name: string;
    description: string;
    framework: string;
    generate(context: GeneratorContext): GenerationResult;
    /**
     * Generate frontend from extended workflow schema
     * Creates full React app with pages, routing, theme, and API client
     */
    private generateFromExtendedWorkflow;
    private getFrontendComponents;
    private generateUiComponent;
    private generateComponentTsx;
    /**
     * Generate action scaffold (Tier 2: empty stub with TODO)
     */
    private generateActionScaffold;
    /**
     * Generate full action handler implementation (Tier 3: only when explicit steps in YAML)
     */
    private generateActionHandler;
    private generateValidationStep;
    private generateApiCallStep;
    private generateStoreLocalStep;
    private generateNavigateStep;
    /**
     * Legacy action handler for backward compatibility
     */
    private generateLegacyActionHandler;
    private generateInlineAction;
    private generateFormJsx;
    private generateComponentCss;
    private generateComponentTypes;
    private generateApiClient;
    private generateRequestType;
    private generateResponseType;
    private generatePackageJson;
    private generateTsConfig;
    private generateTsConfigNode;
    private generateViteConfig;
    private generateViteEnvTypes;
    private generateIndexHtml;
    private generateAppComponent;
    private capitalize;
    private toCamelCase;
    private formatInitialValue;
    private parseTemplateValue;
    private getFieldStateVar;
    private mapTypeToTs;
    /**
     * Extended workflow methods
     */
    private generateModelPages;
    private generateModelListPage;
    private generateModelDetailPage;
    private generateModelFormPage;
    private generateEnhancedApiClient;
    private generateEnhancedApp;
    private generateThemeConfig;
    private generateTailwindConfig;
    private generatePostCssConfig;
    private generatePackageJsonWithRouter;
    private generateViteConfigExtended;
    private generateIndexHtmlExtended;
    private generateCustomPage;
    private generateFormComponent;
    private generateProtectedRoute;
    private getModelDisplayField;
    private getFieldDefaultValue;
    private generateFormField;
    private mapFieldTypeToInputType;
    /**
     * Convert title/id to valid React component name
     * "Contact Us" -> "ContactUs"
     * "user-profile" -> "UserProfile"
     */
    private toComponentName;
    /**
     * Get default value for form field based on field type
     */
    private getFormFieldDefaultValue;
    /**
     * Generate a React component
     * Implements the recommended FrontendGenerator.generateComponent method
     */
    generateComponent(component: any, context: GeneratorContext): GeneratedFile[];
}
//# sourceMappingURL=react-generator.d.ts.map