/**
 * @file react-bridge.ts
 * Bridge for mounting React components in Drupal
 */
import React from 'react';
declare const componentRegistry: {
    AiButton: React.FC<import("../components/AiButton").AiButtonProps>;
    AiCard: any;
    AiInput: any;
    AiDashboard: any;
};
export interface MountOptions {
    props: Record<string, any>;
    onMount?: () => void;
    onUnmount?: () => void;
    enableAI?: boolean;
}
/**
 * React Bridge for Drupal integration
 */
export declare class ReactBridge {
    private static instances;
    /**
     * Mount a React component in a DOM element
     */
    static mount(componentName: keyof typeof componentRegistry, element: HTMLElement, options: MountOptions): string;
    /**
     * Unmount a React component
     */
    static unmount(instanceId: string): boolean;
    /**
     * Update props for a mounted component
     */
    static updateProps(instanceId: string, newProps: Record<string, any>): boolean;
    /**
     * Mount all components found in the DOM
     */
    static mountAll(context?: HTMLElement): void;
    /**
     * Extract props from data attributes
     */
    private static extractDataProps;
    /**
     * Get all mounted instances
     */
    static getInstances(): string[];
    /**
     * Clear all mounted instances
     */
    static unmountAll(): void;
}
export default ReactBridge;
//# sourceMappingURL=react-bridge.d.ts.map