/// import { MDXProviderComponents } from '@mdx-js/react'; export { MDXProviderComponents } from '@mdx-js/react'; import { ReactHTML, PropsWithChildren } from 'react'; import { CSSRules, Context } from 'twind'; export { theme } from 'twind'; declare type CSSProperties = CSSRules[string]; declare type StyledIntrinsicFactories = { [TIntrinsic in keyof ReactHTML]: StyledHTML; }; interface StyledElements extends StyledIntrinsicFactories { (elementType: TIntrinsic): StyledHTML; (elementType: T, strings: TemplateStringsArray, ...interpolations: readonly MaybeThunk>[]): ReactHTML[T]; (elementType: T, tokens: MaybeThunk>): ReactHTML[T]; (elementType: T, ...tokens: readonly MaybeThunk[]): ReactHTML[T];

(component: (props: P) => JSX.Element | null): StyledComponent

;

(component: (props: P) => JSX.Element | null, ...tokens: readonly MaybeThunk[]): (props: P) => JSX.Element | null; } declare type Falsy = '' | 0 | -0 | false | null | undefined | void; declare type MaybeArray = T | readonly T[]; declare type MaybeThunk = T | ((context: Context) => T); interface StyledComponent

{ (strings: TemplateStringsArray, ...interpolations: readonly MaybeThunk>[]): (props: P) => JSX.Element | null; (tokens: MaybeThunk>): (props: P) => JSX.Element | null; (...tokens: readonly MaybeThunk[]): (props: P) => JSX.Element | null; } interface StyledHTML { (strings: TemplateStringsArray, ...interpolations: readonly MaybeThunk>[]): ReactHTML[T]; (tokens: MaybeThunk>): ReactHTML[T]; (...tokens: readonly MaybeThunk[]): ReactHTML[T]; } declare const styled: StyledElements; interface MDXProps extends PropsWithChildren<{ components: MDXProviderComponents; }> { } export { CSSProperties, MDXProps, StyledElements, StyledIntrinsicFactories, styled };