import type { ComponentType } from 'react'; import type { LayoutBuilderObject } from './types'; declare type ComponentCollection = Map>; declare global { var __LOADED_COMPONENTS__: ComponentCollection | undefined; } export declare const loadObject: (object: LayoutBuilderObject) => ComponentType | undefined; export declare const registerComponent: (name: string, component: ComponentType) => void; export declare const registerComponentOverride: (id: number | string, component: ComponentType) => void; export declare const hasComponent: (name: string) => boolean; export declare const clear: () => void; export {};