import type React from "react"; import type { PropertyControls } from "../render/types/PropertyControls.js"; type HigherOrderComponent = (Component: React.ComponentType, props?: Props) => React.ComponentType; /** * Extends component with property controls * * ```typescript * export const MyComponent = props =>

{props.header}

* * addPropertyControls(MyComponent, { * header: { type: ControlType.String, title: "Header" }, * }) * * ``` * @public */ export declare function addPropertyControls(component: React.ComponentType | React.ForwardRefExoticComponent | HigherOrderComponent, propertyControls: PropertyControls): void; /** * Get the property controls for a component * @param component - The component to retrieve the property controls for * @returns The property controls for the given component * @internal */ export declare function getPropertyControls(component: React.ComponentType | React.ForwardRefExoticComponent): PropertyControls | undefined; export {}; //# sourceMappingURL=addPropertyControls.d.ts.map