/**
 * @file drupal-adapter.ts
 * Drupal Adapter for LLM UI Components
 *
 * Bridges React components with Drupal's UI Suite modules
 */
import { ComponentPattern } from '../patterns/pattern-registry';
export interface DrupalFieldMapping {
    source: string;
    target: string;
    transform?: (value: any) => any;
}
export interface DrupalPatternDefinition {
    label: string;
    description?: string;
    category?: string;
    use?: string;
    fields: Record<string, any>;
    settings?: Record<string, any>;
    libraries?: string[];
}
/**
 * Adapter class for converting LLM UI components to Drupal patterns
 */
export declare class DrupalAdapter {
    /**
     * Convert a component pattern to Drupal UI Pattern format
     */
    static toDrupalPattern(pattern: ComponentPattern): DrupalPatternDefinition;
    /**
     * Convert pattern fields to Drupal format
     */
    private static convertFields;
    /**
     * Map component categories to Drupal UI Suite categories
     */
    private static mapCategory;
    /**
     * Map field types to Drupal field types
     */
    private static mapFieldType;
    /**
     * Generate settings for the pattern
     */
    private static generateSettings;
    /**
     * Get required Drupal libraries for the pattern
     */
    private static getRequiredLibraries;
    /**
     * Generate Twig template for a pattern
     */
    static generateTwigTemplate(pattern: ComponentPattern): string;
    /**
     * Generate template content based on pattern fields
     */
    private static generateTemplateContent;
    /**
     * Create props mapping for React component integration
     */
    static createPropsMapping(pattern: ComponentPattern): DrupalFieldMapping[];
    /**
     * Get field transformation function
     */
    private static getFieldTransform;
    /**
     * Capitalize first letter
     */
    private static capitalize;
    /**
     * Generate YAML pattern file content
     */
    static generateYamlPattern(pattern: ComponentPattern): string;
}
//# sourceMappingURL=drupal-adapter.d.ts.map