import { Props } from './types.js'; import * as React from "react"; export { useConsumer } from './utils.js'; export { Partition } from './components/partition/index.js'; export type { Props as PartitionProps } from './components/partition/types.js'; export type { ConsumerRenderer, Entry, ConsumerContext } from './types.js'; /** * Creates a new consumer context for storing distributed action values. Only needed if you * want to isolate a consumer context, useful for libraries that want to provide * their own consumer context without interfering with the app's consumer context. * * The Consumer stores the latest value for each distributed action, allowing components * that mount later to access values that were dispatched before they mounted. This enables * the `stream()` method to render the most recent value immediately. * * @param props.children - The children to render within the consumer context. * @returns The children wrapped in a consumer context provider. */ export declare function Consumer({ children }: Props): React.ReactNode;