import type { ObjectNotFront, ResolveComponentPropsMap } from '../../types'; /** * Custom hook that builds and returns a layout component (`Body`, `Header` or `Components`) * populated with dynamically rendered child components based on configuration. * * @param userFlow - The current user flow identifier. * @param pageId - The current page identifier. * @param type - Indicates whether to render a 'body', 'header'. * @param notFrontObject - The configuration object containing component data. * @param options.embedded - Renders the body without its own page padding. * @returns A rendered Header, Body or Components with its child components or null if the type is unrecognized. */ export declare const useBuilder: (userFlow: string, pageId: string, type: 'body' | 'header', notFrontObject: ObjectNotFront | null, { onResolveComponentProps, embedded, }?: { onResolveComponentProps?: ResolveComponentPropsMap | undefined; embedded?: boolean | undefined; }) => import("react/jsx-runtime").JSX.Element | null;