import { jsx as coreJsx, ThemeUIJSX } from '@theme-ui/core' export { __ThemeUIContext, merge, useThemeUI, createElement, } from '@theme-ui/core' export type { ThemeUIContextValue, IntrinsicSxElements, SxProp, ColorMode, ColorModesScale, CSSObject, CSSProperties, CSSPseudoSelectorProps, ResponsiveStyleValue, ThemeUICSSProperties, ThemeUIStyleObject, ThemeUICSSObject, Theme, ThemeStyles, TLengthStyledSystem, StylePropertyValue, } from '@theme-ui/core' export { useColorMode, InitializeColorMode } from '@theme-ui/color-modes' export { Themed, Styled, components } from '@theme-ui/mdx' export { ThemeProvider } from '@theme-ui/theme-provider' export * from '@theme-ui/components' export { css, get } from '@theme-ui/css' export const BaseStyles = (props: Record) => jsx('div', { ...props, sx: { fontFamily: 'body', lineHeight: 'body', fontWeight: 'body', variant: 'styles', }, }) export const jsx = coreJsx export declare namespace jsx { export namespace JSX { export interface Element extends ThemeUIJSX.Element {} export interface ElementClass extends ThemeUIJSX.ElementClass {} export interface ElementAttributesProperty extends ThemeUIJSX.ElementAttributesProperty {} export interface ElementChildrenAttribute extends ThemeUIJSX.ElementChildrenAttribute {} export type LibraryManagedAttributes< C, P > = ThemeUIJSX.LibraryManagedAttributes export interface IntrinsicAttributes extends ThemeUIJSX.IntrinsicAttributes {} export interface IntrinsicClassAttributes extends ThemeUIJSX.IntrinsicClassAttributes {} export interface IntrinsicElements extends ThemeUIJSX.IntrinsicElements {} } }