import { ComponentType, HTMLProps } from 'react'; import { PoseElementProps } from './components/PoseElement/types'; import { DomPopmotionConfig } from 'popmotion-pose'; declare type DomPopmotionConfigFactory = (props: PoseElementProps & T) => DomPopmotionConfig; export declare type ComponentFactory = (poseConfig?: DomPopmotionConfig | DomPopmotionConfigFactory) => ComponentType; export declare type Posed = { (component: ComponentType): ComponentFactory; [key: string]: ComponentFactory>; }; declare const posed: Posed; export default posed;