import type { FC, ComponentProps } from "react"; import type { StylewindProps } from "stylewind-bridge"; import type { Tag } from "./tags"; export declare type StyledComponent = FC>; export declare type TagMethods = { [T in Tag]: (props?: StylewindProps) => StyledComponent; }; declare function createComponent(el: T, props?: StylewindProps): StyledComponent; declare const styled: typeof createComponent & TagMethods; export default styled;