/** * Simple universal props system optimized for React Native (Expo) * Provides lightHidden/darkHidden functionality with React Native compatibility */ export type ColorScheme = 'light' | 'dark'; export interface UniversalProps { /** Hide component in light color scheme */ lightHidden?: boolean; /** Hide component in dark color scheme */ darkHidden?: boolean; } export interface ResponsiveProps { /** Hide component above this screen width (pixels) */ hiddenFrom?: number; /** Show component only above this screen width (pixels) */ visibleFrom?: number; } export type UniversalSystemProps = UniversalProps & ResponsiveProps; /** * Determines if component should be hidden based on universal props * Primary function for React Native - returns true if component should not render */ export declare function shouldHideComponent(props: UniversalSystemProps, colorScheme: ColorScheme): boolean; /** * Simple hook to check if component should render */ export declare function useUniversalProps(props: UniversalSystemProps, colorScheme: ColorScheme): { shouldRender: boolean; }; /** * Extract universal props from component props */ export declare function extractUniversalProps(props: T): { universalProps: UniversalSystemProps; componentProps: Omit; };