import { ChatClient } from '../../../core/chat-client.js'; /** * Hook to access the chat client provided by the current {@link ChatClientProvider}. * This hook must be used within a {@link ChatClientProvider}. * @throws An {@link Ably.ErrorInfo} When the hook is not used within a {@link ChatClientProvider}. * @returns The {@link ChatClient} instance provided by the context. */ export declare const useChatClientContext: () => ChatClient;