import { type PropsWithChildren, type ReactNode } from 'react'; import { type LunaticSlotComponents } from './shared/HOC/slottableComponent'; import type { LunaticComponentProps } from './type'; type Props = { /** List of components to display (coming from getComponents). */ components: LunaticComponentProps[]; /** Should we memoized children. */ memo?: boolean; /** Key that trigger autofocus when it changes (pageTag). */ autoFocusKey?: string; /** Returns the list of extra props to add to components. */ componentProps?: (component: LunaticComponentProps) => V; /** Forbidden components. */ blocklist?: string[]; /** Add additional wrapper around each component. */ wrapper?: (props: PropsWithChildren) => ReactNode; /** Customized deep components. */ slots?: Partial; }; /** * Entry point for orchestrators, this component display the list of fields. * * Components offered by Lunatic can be seen at {@link https://github.com/InseeFr/Lunatic/tree/4.0/src/components} */ export declare function LunaticComponents({ components, autoFocusKey, componentProps, blocklist, memo, slots, wrapper, }: Readonly>): import("react/jsx-runtime").JSX.Element; export declare function hasLabel(component: T): component is { label: ReactNode; } & T; export {};