import { ElementType, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, RefObject } from 'react'; export interface PropItem { key: string; value: T; } export declare type PropType

= P & { [key: string]: any; }; export declare type Mappings

= { [K in keyof PropType

]?: string; }; export declare function useWebComponent(props: PropType

, mapping?: Mappings

, eventsAreCamelCase?: boolean): [Partial

, RefObject]; declare type HookProps

= PropType

& { mapping?: Mappings

; eventsAreCamelCase?: boolean; }; export declare function withWebComponent(Component: ElementType): ForwardRefExoticComponent> & RefAttributes>; export {};