import type { NotFrontComponent, ResolveComponentPropsMap } from '../../types'; export interface BuildComponentsListOptions { /** * Key V2 nodes by `responseKey` instead of the per-answer `hash`. Passed by * the stable-page path only; V1 callers leave it off. Never read from a * context: this function must stay hook-free (it is called conditionally). */ stablePage?: boolean; } /** * Custom hook that maps a list of NotFront component definitions to rendered React components. * * @param userFlow - The current user flow identifier. * @param pageId - The current page identifier. * @param components - An array of NotFront component configuration objects. * @param onResolveComponentProps - Optional per-type prop resolvers. * @param options - `stablePage` switches V2 keys to `responseKey`. * @returns A list of rendered components or nulls for unrecognized types. */ export declare const useBuildComponentsList: (userFlow: string, pageId: string, components: NotFrontComponent[] | null, onResolveComponentProps?: ResolveComponentPropsMap, options?: BuildComponentsListOptions) => (import("react/jsx-runtime").JSX.Element | null)[] | undefined; export default useBuildComponentsList;