import type { BuilderRenderState, RegisteredComponent, RegisteredComponents } from '../../context/types'; import type { BuilderContent } from '../../types/builder-content'; import type { ComponentInfo } from '../../types/components'; import type { Dictionary, Nullable } from '../../types/typescript'; import type { ContentProps } from './content.types'; export declare const getRegisteredComponents: (registrations: RegisteredComponent[], wrapComponent: (component: any) => any) => RegisteredComponents; export declare const getComponentInfos: (registrations: RegisteredComponent[]) => Dictionary; export declare const getRootStateInitialValue: ({ content, data, locale }: Pick) => { locale?: string | undefined; }; export declare const getContentInitialValue: ({ content, data }: Pick) => Nullable; /** * A state object whose reads and writes go to whatever `getRootState` returns * when they happen, for jsCode functions that outlive the root state object * they were defined against. */ export declare const getLiveRootState: (getRootState: () => BuilderRenderState) => BuilderRenderState;