import type { ConversationMessage } from './types';
type MountOptions = {
    widgetId: string;
    apiUrl?: string;
    position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
    primaryColor?: string;
    container?: string | HTMLElement;
    onOpen?: () => void;
    onClose?: () => void;
    onMessage?: (msg: ConversationMessage) => void;
    onError?: (err: Error) => void;
};
declare function mount(options: MountOptions): {
    destroy(): void;
};
declare global {
    interface Window {
        AIChatWidget: {
            mount: typeof mount;
        };
    }
}
export { mount };
//# sourceMappingURL=umd.d.ts.map