import { U as User } from '../types-B5TgxFMm.js';
import 'react';

/**
 * Simple Vue adapter for CapAuth React component
 * This approach avoids Vue component complexity and just exports a function
 * that can be used to render the React component in a Vue application
 */

interface CapAuthOptions {
    config: any;
    onAuthenticated: (user: User) => void;
    onError?: (error: Error) => void;
}
/**
 * Mounts the CapAuth React component into a specified element
 */
declare function mountCapAuth(element: HTMLElement, options: CapAuthOptions): () => void;
declare const _default: {
    /**
     * Mount CapAuth into an element
     */
    mount: typeof mountCapAuth;
    /**
     * Vue directive (for use with v-capauth)
     */
    directive: {
        mounted(el: HTMLElement, binding: any): void;
        unmounted(el: HTMLElement): void;
    };
};

export { _default as VueCapAuth };
