import { type ReactElement } from 'react'; import type { ComponentProps } from '../types/index.js'; import type { ContentEntry } from '@farfetch/blackout-client'; /** * Render an Editorial Content. Renders Editorial Content by going through all it's * components and rendering them using the Editorial Component. * * @param data - Data to render. * @param componentProps - Props to be passed to the registered components. * * @returns Rendered components. */ declare const renderContent: ({ components }: { components: ContentEntry['components']; }, componentProps?: Omit & Record) => ReactElement; export default renderContent;