import * as React from 'react'; import type { AcceptsClassName, CSSObject, DistributiveOmit, FunctionComponent, StyleResolver, StyledComponent } from './types.js'; import type { JSX } from './jsx-runtime.js'; /** * Creates a JSX component that forwards a `className` prop with the generated * atomic class names to the provided `Component`. Additionally, a `css` prop can * be provided to override the initial `styles`. * * Note, the provided component must accept a `className` prop. */ export declare function styled(Component: FunctionComponent, styles?: CSSObject | StyleResolver): StyledComponent & StyleProps>; export declare function styled(Component: AcceptsClassName | React.ComponentClass<{ className?: string; }>, styles?: CSSObject | StyleResolver>): StyledComponent, keyof StyleProps> & StyleProps>;