packages/ui-kit/src/rendering/LayoutBlockRenderer.ts
import type { RenderableLayoutBlock } from '../blocks/RenderableLayoutBlock';
import type { BlockContext } from './BlockContext';
export type LayoutBlockRenderer<T, B extends RenderableLayoutBlock = RenderableLayoutBlock> = (
layoutBlock: B,
context: BlockContext.BLOCK,
index: number,
) => T | null;