import React from "react"; import { Charisma as CharismaSDK } from "@charisma-ai/sdk"; export interface UseCharismaOptions { playthroughToken?: string; charismaUrl?: string; isConnected?: boolean; onConnect?: () => void; onReconnect?: () => void; onReconnecting?: () => void; onDisconnect?: () => void; onReady?: () => void; onError?: (error: any) => void; onProblem?: (problem: { type: string; error: string; }) => void; } export declare const useCharisma: ({ playthroughToken, charismaUrl, isConnected, onConnect, onReconnect, onReconnecting, onDisconnect, onReady, onError, onProblem, }: UseCharismaOptions) => CharismaSDK | undefined; export interface CharismaProps extends UseCharismaOptions { children: React.ReactNode | ((charisma?: CharismaSDK) => React.ReactNode); } export declare const Charisma: ({ children, ...props }: CharismaProps) => JSX.Element;