/** * Shell Context Types * Type definitions for shell context */ import type { ThemeMode, ThemeConfig } from './theme-types.js'; import type { FeatureFlags } from './feature-types.js'; import type { ViewportInfo } from './layout-types.js'; export interface ShellConfig { /** Theme configuration */ theme?: ThemeConfig; /** Feature flags and experimental configurations */ features?: FeatureFlags; /** Enable server-side rendering */ ssr?: boolean; /** Enable streaming rendering */ streaming?: boolean; /** Custom shell metadata */ metadata?: Record; } export interface ShellContext { /** Current theme mode */ theme: ThemeMode; /** Set theme mode */ setTheme: (mode: ThemeMode) => void; /** Feature flags */ features: FeatureFlags; /** Check if a feature is enabled */ isFeatureEnabled: (key: string) => boolean; /** Get feature value */ getFeature: (key: string, defaultValue?: T) => T; /** Current viewport size */ viewport: ViewportInfo; } //# sourceMappingURL=shell-context.d.ts.map