import { ComponentType } from 'react'; import { type ImageStyle, type TextStyle, type ViewStyle } from 'react-native'; type StyleType = ViewStyle | TextStyle | ImageStyle; type Options = { base?: StyleType; variants?: VariantMap; }; type VariantMap = { [key: string]: { [key: string]: T; }; }; type Nested = { [Property in keyof Type]?: keyof Type[Property]; }; type SelectorMap = Partial<{ [K in keyof Variants]?: { [T in keyof Variants[K]]?: StyleType; }; }>; type Selectors = { light?: SelectorMap; dark?: SelectorMap; }; type SelectorProps = { light?: StyleType; dark?: StyleType; }; export declare function create(component: ComponentType, config: O & { selectors?: Selectors; props?: T; }): import("react").ForwardRefExoticComponent; props?: T; })["variants"]> & { selectors?: SelectorProps; }> & import("react").RefAttributes>; export {}; //# sourceMappingURL=create-primitive.d.ts.map