import { ChatMessage, ChatUserItem } from '@zoom/videosdk';

export type ChatContextType = {
    messages: ChatMessage[];
    receivers: ChatUserItem[];
    sendMessage: ({ text, receiverId }: {
        text: string;
        receiverId: number;
    }) => Promise<void>;
    updateReceiversAndChatHistory: () => void;
};
export declare const ChatContext: import('react').Context<ChatContextType>;
export declare const useChatContext: () => ChatContextType;
