import React from 'react'; import { StyleSheet } from 'react-native'; import type { ScaledSize, TextStyle, ViewStyle, StyleProp } from 'react-native'; import type { EdgeInsets } from 'react-native-safe-area-context'; type FactoryCustomProps = Record | undefined; export type FactoryProps = TProps & { readonly theme: KingstinctTheme; readonly size: ScaledSize; readonly insets: EdgeInsets; }; type Factory> = (props: FactoryProps) => StyleSheet.NamedStyles | T; export declare function createThemedStylesHook>(factory: Factory): (props?: TProps) => TStyle; type ViewFactory> = (props: FactoryProps) => T; export declare function createThemedView>(factory: ViewFactory): React.NamedExoticComponent>; type TextFactory> = (props: FactoryProps) => TStyle; export declare function createThemedText>(factory: TextFactory): React.NamedExoticComponent>; export default createThemedStylesHook;