import type { PropsWithChildren } from 'react'; import React from 'react'; import type { ChannelPaginator } from 'stream-chat'; export type ChannelListContextValue = { /** * The primary (first) channel paginator of the `ChannelManager` on `ChatContext`. Undefined * outside `ChannelLists`. */ paginator?: ChannelPaginator; }; export declare const ChannelListContext: React.Context; /** Provides the primary channel paginator to the channel lists rendered by `ChannelLists`. */ export declare const ChannelListContextProvider: ({ children, value, }: PropsWithChildren<{ value: ChannelListContextValue; }>) => import("react/jsx-runtime").JSX.Element; export declare const useChannelListContext: () => ChannelListContextValue; //# sourceMappingURL=ChannelListContext.d.ts.map