import { ViewStyle, TextStyle } from 'react-native'; import { PlatformBlocksTheme, SizeValue } from './theme/types'; /** * Factory for creating consistent component styles * This centralizes styling logic and ensures consistency across components */ export interface StyleFactoryConfig { component: 'input' | 'button' | 'card' | 'badge' | 'select' | 'generic'; variant?: string; size?: SizeValue; disabled?: boolean; error?: boolean; focused?: boolean; radius?: any; } /** * Base component style factory — now backed by a bounded cache. * Repeated calls with identical theme + config return the same object reference. */ export declare function createComponentStyles(theme: PlatformBlocksTheme, config: StyleFactoryConfig): { container: ViewStyle; content: ViewStyle; text: TextStyle; };