import React from 'react';
import type { PropsWithChildren } from 'react';
import type { Thread } from 'stream-chat';
export type ThreadContextValue = Thread | undefined;
export declare const ThreadContext: React.Context<ThreadContextValue>;
export declare const useThreadContext: () => ThreadContextValue;
export declare const ThreadProvider: ({ children, thread, }: PropsWithChildren<{
    thread?: Thread;
}>) => React.JSX.Element;
