import React, { ReactNode } from 'react'; import { RTMClient } from '../api/RTMClient'; export interface RTMProviderProps { readonly client: RTMClient; readonly children?: ReactNode; } export declare const AgoraRTMContext: React.Context; export declare function RTMProvider({ client, children }: RTMProviderProps): React.JSX.Element; export declare function useRtm(client?: RTMClient | null): RTMClient; //# sourceMappingURL=useRtm.d.ts.map