import React from 'react'; import type { StyleProp } from 'react-native'; export interface Config

{ name?: string; props?: Partial

; style?: any; fixedStyle?: any; attrs?: Attrs; comp?: React.ComponentType; child?: React.ComponentType; childProps?: ((props: any) => any) | any; omitProps?: Extract[]; [key: string]: any; } export type StyledProps = { childRef?: React.Ref; style?: StyleProp; }; type WithOptional = Omit & { [P in K]?: P extends keyof T ? T[P] : never; }; type Attrs = ((props: Partial) => Partial) | Partial; type ComponentStyle

= ((props: Partial

& SP) => S) | S; export declare const ThemeContext: React.Context; export interface ThemeProviderProps { theme: any; children?: React.ReactNode; } export declare const ThemeProvider: ({ theme, children }: ThemeProviderProps) => React.FunctionComponentElement>; export declare const useTheme: () => any; export type StyledComponent

= React.ForwardRefExoticComponent & { children?: React.ReactNode; }> & React.RefAttributes> & { extend: (more: ComponentStyle) => StyledComponent

; attrs: (attrs: Attrs) => StyledComponent, S>; withComponent: (comp: React.ComponentType) => StyledComponent; withChild: (child: React.ComponentType, childProps?: any) => StyledComponent; }; declare const styled:

= {}>(// eslint-disable-line @typescript-eslint/no-empty-object-type Comp: React.ComponentType

, config?: Config) => (componentStyle?: ComponentStyle) => StyledComponent, S>; export default styled;