@mui/internal-docs-infra
Version:
MUI Infra - internal documentation creation tools.
8 lines • 567 B
text/typescript
import type { ChunkComponentProps, ChunkRenderInputs, CreateChunkConfig } from "./types.mjs";
/**
* Evaluate a chunk's config + per-instance props into the already-resolved
* {@link ChunkRenderInputs} that `resolveChunkRender` consumes. Pure, so
* the same inputs drive the render decision identically on the server and the
* client's first render. Mirrors the `isLoaded` rule {@link useChunk} uses.
*/
export declare function buildChunkRenderInputs<T extends {}, P, O>(config: CreateChunkConfig<T, P, O>, props: ChunkComponentProps<T, P, O>): ChunkRenderInputs;