import { Action, Color, ComponentWithSettings, IconIdentifier, Theme } from '@evlop/commons'; import React$1 from 'react'; import { FlatListProps, ImageBackgroundProps as RNImageBackgroundProps, ImageProps, ListRenderItem, PressableProps, TextProps as RNTextProps, TextStyle, View as RNView, ViewProps, ViewProps as RNViewProps, ViewStyle } from 'react-native'; import { BackgroundColorProps, BackgroundProps, BorderProps, ColorProps, FlexProps, FlexboxProps, FlexboxProps as SSFlexboxProps, FontSizeProps, FontWeightProps, LayoutProps, OpacityProps, PositionProps, ResponsiveValue, SpaceProps, ThemeValue, TypographyProps } from 'styled-system'; type BaseViewProps = RNViewProps & FlexboxProps & BorderProps & LayoutProps & OpacityProps & ColorProps & BackgroundProps & SpaceProps & PositionProps & OpacityProps; declare const BaseView: React$1.ComponentType>; interface GapProps { gap?: ResponsiveValue, Theme>; rowGap?: ResponsiveValue, Theme>; columnGap?: ResponsiveValue, Theme>; } type BaseFlexboxProps = RNViewProps & BorderProps & SSFlexboxProps & LayoutProps & ColorProps & BackgroundProps & SpaceProps & PositionProps & GapProps; declare const BaseFlexbox: React$1.ComponentType; type TextVariantProp = { variant?: string; }; type NativeTextProps = RNTextProps & BorderProps & LayoutProps & BackgroundProps & ColorProps & TypographyProps & SpaceProps & TextVariantProp & { fontScale?: number; }; type BaseTextProps = NativeTextProps & { content?: string; }; declare const BaseText: React$1.ComponentType; type AppOnlyColors = "header-tint" | "header-background" | "footer-background" | "footer-tint" | "body-background"; type BaseIconProps = { icon?: IconIdentifier; size?: number; color?: Color | AppOnlyColors; flipOnRTL?: boolean; onPress?: any; }; declare const BaseIcon: React$1.ComponentType; type EffectType = "none" | "shrink" | "dim" | "shrink-dim" | "push-down" | "gentle-shrink" | "tilt" | "bounce" | "squeeze" | "pop" | "wobble"; type ButtonSize = "sm" | "md" | "lg" | "xl" | "2xl"; interface BaseButtonProps extends ViewProps, FontWeightProps, FontSizeProps, LayoutProps, SpaceProps, BackgroundColorProps, BorderProps { disabled?: boolean; loading?: boolean; label?: string; variant?: "filled" | "outlined" | "dim-outlined" | "dim-filled-outlined" | "ghost"; size?: ButtonSize; color?: Color; textColor?: Color; textStyle?: TextStyle; action?: Action; icon?: IconIdentifier; iconPosition?: "left" | "right"; iconSize?: number; pressEffect?: EffectType; } declare const BaseButton: React$1.FC; type HapticType = "impactLight" | "impactMedium" | "impactHeavy" | "rigid" | "soft" | "notificationSuccess" | "notificationWarning" | "notificationError"; export declare const triggerHapticFeedback: (_type: HapticType) => void; interface BaseActionableProps extends PressableProps { pressEffect?: EffectType; hapticFeedback?: HapticType; action: Action; [key: string]: any; } declare const BaseActionable: React$1.ComponentType; type NativeImageProps = ImageProps; declare const imageSizes: { xxxs: number; "3xs": number; xxs: number; "2xs": number; xs: number; sm: number; md: number; lg: number; xl: number; xxl: number; "2xl": number; xxxl: number; "3xl": number; fluid: string; }; type ImageSize = keyof (typeof imageSizes); type StyledImageProps = NativeImageProps & BorderProps & SpaceProps & { width?: ImageSize | number; height?: ImageSize | number; minHeight?: ImageSize | number; minWidth?: ImageSize | number; aspectRatio?: string | number; }; declare const BaseImage: React$1.ForwardRefExoticComponent & { src?: string; placeholder?: string; } & React$1.RefAttributes>; type StyledImageBackgroundProps = RNImageBackgroundProps & FlexProps & BorderProps & LayoutProps & OpacityProps & ColorProps & BackgroundProps & SpaceProps; type BaseImageBackgroundProps = StyledImageBackgroundProps & { src?: string; placeholder?: string; }; declare const BaseImageBackground: ComponentWithSettings; type PaginationType = "dash" | "dot" | "line" | "number"; interface SwiperRef { scrollToIndex: (index: number) => void; scrollTo: (options: { index: number; animated: boolean; }) => void; } interface SwiperProps extends Omit, "data" | "renderItem" | "horizontal" | "pagingEnabled" | "showsHorizontalScrollIndicator" | "showsVerticalScrollIndicator" | "getItemLayout"> { data: T[]; autoplay?: boolean; autoplayInterval?: number; paginationType?: PaginationType; paginationStyle?: ViewStyle; renderItem?: ListRenderItem; itemWidth?: number; onIndexChange?: (index: number) => void; } export declare const Swiper: React$1.ForwardRefExoticComponent & React$1.RefAttributes>; export { BaseActionable as Actionable, BaseButton as Button, BaseFlexbox as Flexbox, BaseIcon as Icon, BaseImage as Image, BaseImageBackground as ImageBackground, BaseText as Text, BaseView as Box, }; export {};