import { ApiConfig, PageContent, ResolveComponentPropsMap } from '../../types'; /** * Custom hook to manage page rendering based on API or provided JSON configuration. * * @param apiConfig - API configuration object. * @param jsonPage - Optional page configuration object. * @returns JSX content to render the page (header and body). */ export declare const usePage: (userFlow: string, apiConfig: ApiConfig, jsonPage?: PageContent | null, onResolveComponentProps?: ResolveComponentPropsMap) => import("react/jsx-runtime").JSX.Element;