import React, { PropsWithChildren } from 'react'; import type { ThreadHeaderProps } from '../components/Thread/ThreadHeader'; export declare type ComponentContextValue = { Message: React.ComponentType; Input: React.ComponentType; ThreadHeader: React.ComponentType; }; export declare const ComponentContext: React.Context; export declare const ComponentProvider: ({ children, value, }: React.PropsWithChildren<{ value: ComponentContextValue; }>) => JSX.Element; export declare const useComponentContext: (componentName?: string | undefined) => ComponentContextValue;