import { ChatOptions, ReceivedChatMessage } from '../../packages/core/dist/index.d.ts';
/**
 * The `useChat` hook provides chat functionality for a LiveKit room.
 * It returns a simple `send` function to send chat messages and an array of `chatMessages` to hold received messages.
 * It also returns a `update` function that allows you to implement message-edit functionality.
 * @public
 */
export declare function useChat(options?: ChatOptions): {
    send: (message: string) => Promise<import('../../packages/core/dist/index.d.ts').ChatMessage>;
    update: (message: string, originalMessageOrId: string | import('../../packages/core/dist/index.d.ts').ChatMessage) => Promise<{
        readonly message: string;
        readonly editTimestamp: number;
        readonly id: string;
        readonly timestamp: number;
    }>;
    chatMessages: ReceivedChatMessage[];
    isSending: boolean;
};
//# sourceMappingURL=useChat.d.ts.map