import { VComponent } from './VComponent'; /** * A registry for managing component definitions. * @deprecated This class is deprecated and will be removed in a future release. Please use the new component registration system instead. */ export declare class VComponentRegistry { #private; /** * Registers a new component. * @param id The unique identifier for the component. * @param createInstance The function that creates a new instance of the component. * @param templateID The optional template ID for the component. * @returns True if the component was registered, false if a component with the same ID already exists. */ register(id: string, createInstance: (props?: any) => any, templateID?: string): boolean; /** * Checks if a component with the given ID exists. * @param id The component ID to check. * @returns True if the component exists, false otherwise. */ has(id: string): boolean; /** * Gets a component by its ID. * @param id The component ID to retrieve. * @returns The component definition, or undefined if not found. */ get(id: string): VComponent | undefined; /** * Removes a component from the registry. * @param id The component ID to remove. * @returns True if the component was removed, false if it didn't exist. */ unregister(id: string): boolean; /** * Clears all registered components. */ clear(): void; }