import * as React from 'react';
import type { ChunkProviderProps } from "./types.mjs";
/**
 * Layout-level provider that supplies a client `StreamSource` to descendant
 * chunks, dynamically importing the loader module only when a chunk first needs
 * to load - so the loaders stay out of the initial bundle and are never
 * imported when chunks are precomputed/preloaded. The import promise is cached,
 * so many chunks share one fetch (mirrors how `CodeProvider` lazily provides
 * its parser/loaders).
 */
export declare function ChunkProvider<P, O>({
  children,
  source
}: ChunkProviderProps<P, O>): React.ReactElement;