import React from "react"; import { StyledProps } from "./styled"; export declare type StyledComponentProps
= StyledProps
& { component: React.ComponentType
; }; export declare const StyledComponent: (props: P & { className?: string | undefined; tw?: string | undefined; baseClassName?: string | undefined; baseTw?: string | undefined; } & { component: React.ComponentType; } & React.RefAttributes) => React.ReactElement | null;
; } & React.RefAttributes) => React.ReactElement | null;