import React from 'react'; import type { PropsWithChildren } from 'react'; import type { ChannelManager, SearchController, StreamChat, UserMuteResponse } from 'stream-chat'; import type { ChatProps } from '../components/Chat/Chat'; type CSSClasses = 'chat' | 'channel' | 'channelList' | 'message' | 'messageList' | 'thread' | 'threadList' | 'virtualMessage' | 'virtualizedMessageList'; export type CustomClasses = Partial>; export type ChatContextValue = { /** * The client's `ChannelManager`, which queries and manages channels across channel lists. The * application registers its lists with `client.channelManager.insertPaginator({ paginator })`; * the SDK creates none. */ channelManager: ChannelManager; getAppSettings: () => ReturnType | null; /** Users muted by the current user. */ mutes: Array; /** Controls all search operations. */ searchController: SearchController; useImageFlagEmojisOnWindows: boolean; /** Class names for the main container components of the SDK. */ customClasses?: CustomClasses; } & Partial> & Required>; export declare const ChatContext: React.Context; export declare const ChatProvider: ({ children, value, }: PropsWithChildren<{ value: ChatContextValue; }>) => import("react/jsx-runtime").JSX.Element; export declare const useChatContext: () => ChatContextValue; export {}; //# sourceMappingURL=ChatContext.d.ts.map