import type { PropsWithChildren } from 'react'; import React from 'react'; import type { Channel } from 'stream-chat'; export type ChannelInstanceContextValue = { channel: Channel; }; export declare const ChannelInstanceContext: React.Context; export declare const ChannelInstanceProvider: ({ children, value, }: PropsWithChildren<{ value: ChannelInstanceContextValue; }>) => import("react/jsx-runtime").JSX.Element; /** * Returns the channel provided by the nearest `Channel`, or an empty object outside one. Unlike * {@link useChannel}, it does not throw and does not read the thread's channel. */ export declare const useChannelInstanceContext: () => Partial; //# sourceMappingURL=ChannelInstanceContext.d.ts.map