import React, { ComponentType, PropsWithChildren } from 'react'; import type { ThemedOptions, StyledProps } from './types'; import { DripsyFinalTheme } from '../declarations'; declare type MergeProps = Omit & P2; declare type PropsWithoutVariants

= Omit; declare type PropsWithStyledProps = P & StyledProps; export declare type Props = C extends ComponentType ? MergeProps, PropsWithStyledProps> : never; export declare function createThemedComponent, ExtraProps, ThemeKey extends keyof DripsyFinalTheme>(Component: C, { defaultStyle: baseStyle, ...options }?: ThemedOptions): React.ForwardRefExoticComponent>> & React.RefAttributes>>; export {};