import React from 'react'; export declare type PropType = 'string' | 'number' | 'boolean' | 'enum' | 'pass' | 'object' | 'array'; export interface PassOption { label: string; value: any; } export interface ObjectPropConfig { name: string; type: 'string' | 'number' | 'boolean' | 'enum' | 'pass' | 'array' | 'object'; defaultValue?: any; enumOptions?: string[]; passDescription?: string; passOptions?: PassOption[]; objectProps?: ObjectPropConfig[]; } export declare type LinkPickFn = (...args: any[]) => any; export interface PropLinkConfig { targetProp: string; pick?: LinkPickFn; transform?: (value: any, args: any[]) => any; } export declare type PropCategory = 'content' | 'state' | 'interaction' | 'resource' | 'render'; export interface PropConfig { name: string; type: PropType; defaultValue?: any; enumOptions?: string[]; passDescription?: string; passOptions?: PassOption[]; objectProps?: ObjectPropConfig[]; linkTo?: PropLinkConfig; category?: PropCategory; } export interface TestComponentProps { component: React.ComponentType; propConfigs: PropConfig[]; onPropsChange?: (props: any) => void; } declare const TestComponent: React.FC; export default TestComponent;