import React, { PropsWithChildren } from 'react'; export type MessageListContextValue = { /** The scroll container within which the messages and typing indicator are rendered */ listElement: HTMLDivElement | null; /** Function that scrolls the `listElement` to the bottom. */ scrollToBottom: () => void; }; export declare const MessageListContext: React.Context; /** * Context provider for components rendered within the `MessageList` */ export declare const MessageListContextProvider: ({ children, value, }: React.PropsWithChildren<{ value: MessageListContextValue; }>) => React.JSX.Element; export declare const useMessageListContext: (componentName?: string) => MessageListContextValue; //# sourceMappingURL=MessageListContext.d.ts.map