import { ReactNode } from 'react'; import { ColorSchemeProviderProps, CssFn, Layers } from '@nex-ui/system'; import { Theme } from '../../types/theme.js'; type PrimaryThemeColor = Exclude; interface NexUIProviderProps { theme?: Theme; colorScheme?: Omit; children?: ReactNode; prefix?: string; cssCascadeLayersDisabled?: boolean; } type NexContextValue = { css: CssFn; layers: Layers; prefix: string; primaryThemeColor: PrimaryThemeColor; components?: Theme['components']; }; export type { NexContextValue, NexUIProviderProps };