import type { PropsWithChildren } from 'react'; import type { Thread as StreamThread } from 'stream-chat'; export type ThreadProps = PropsWithChildren<{ /** * The thread to render. Get it from `client.threads.ensure()` or `client.threads.get()` so it is * registered with the `ThreadManager` and receives events. `Thread` loads it while its state is * stale, which is how a thread built from its parent message gets its replies. */ thread: StreamThread; }>; /** * Container for a thread panel: provides the thread to its subtree, loads it while its state is * stale, scopes audio playback to it, and renders its children. It renders no other UI and does * not register the thread with the `ThreadManager`; `client.threads.ensure()` or * `thread.activate()` does. * * ```tsx * * * * * * ``` * * The message list renders the parent message above its replies (see `useThreadHead`). */ export declare const Thread: ({ children, thread }: ThreadProps) => import("react/jsx-runtime").JSX.Element | null; //# sourceMappingURL=Thread.d.ts.map