import React, { PropsWithChildren } from 'react'; import type { ChannelState as StreamChannelState } from 'stream-chat'; import type { DefaultStreamChatGenerics, UnknownType } from '../types/types'; export declare type TypingContextValue = { typing?: StreamChannelState['typing']; }; export declare const TypingContext: React.Context | undefined>; export declare const TypingProvider: ({ children, value, }: React.PropsWithChildren<{ value: TypingContextValue; }>) => JSX.Element; export declare const useTypingContext: (componentName?: string) => TypingContextValue; /** * Typescript currently does not support partial inference, so if TypingContext * typing is desired while using the HOC withTypingContext, the Props for the * wrapped component must be provided as the first generic. */ export declare const withTypingContext:

(Component: React.ComponentType

) => { (props: Omit): JSX.Element; displayName: string; }; //# sourceMappingURL=TypingContext.d.ts.map