declare const OpaqueColorValue: unique symbol; declare type OpaqueColorValueType = typeof OpaqueColorValue; export declare type ColorValue = string | OpaqueColorValueType; export interface ViewStyle extends FlexStyle, ShadowStyleIOS { backfaceVisibility?: 'visible' | 'hidden'; backgroundColor?: ColorValue; borderBottomColor?: ColorValue; borderBottomEndRadius?: number; borderBottomLeftRadius?: number; borderBottomRightRadius?: number; borderBottomStartRadius?: number; borderBottomWidth?: number; borderColor?: ColorValue; borderEndColor?: ColorValue; borderLeftColor?: ColorValue; borderLeftWidth?: number; borderRadius?: number; borderRightColor?: ColorValue; borderRightWidth?: number; borderStartColor?: ColorValue; borderStyle?: 'solid' | 'dotted' | 'dashed'; borderTopColor?: ColorValue; borderTopEndRadius?: number; borderTopLeftRadius?: number; borderTopRightRadius?: number; borderTopStartRadius?: number; borderTopWidth?: number; borderWidth?: number; opacity?: number; testID?: string; /** * Sets the elevation of a view, using Android's underlying * [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation). * This adds a drop shadow to the item and affects z-order for overlapping views. * Only supported on Android 5.0+, has no effect on earlier versions. * * @platform android */ elevation?: number; } declare type FlexAlignType = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline'; export declare type FlexStyle = { alignContent?: 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'space-between' | 'space-around'; alignItems?: FlexAlignType; alignSelf?: 'auto' | FlexAlignType; aspectRatio?: number; borderBottomWidth?: number; borderEndWidth?: number | string; borderLeftWidth?: number; borderRightWidth?: number; borderStartWidth?: number | string; borderTopWidth?: number; borderWidth?: number; bottom?: number | string; display?: 'none' | 'flex'; end?: number | string; flex?: number; flexBasis?: number | string; flexDirection?: 'row' | 'column' | 'row-reverse' | 'column-reverse'; flexGrow?: number; flexShrink?: number; flexWrap?: 'wrap' | 'nowrap' | 'wrap-reverse'; height?: number | string; justifyContent?: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly'; left?: number | string; margin?: number | string; marginBottom?: number | string; marginEnd?: number | string; marginHorizontal?: number | string; marginLeft?: number | string; marginRight?: number | string; marginStart?: number | string; marginTop?: number | string; marginVertical?: number | string; maxHeight?: number | string; maxWidth?: number | string; minHeight?: number | string; minWidth?: number | string; overflow?: 'visible' | 'hidden' | 'scroll'; padding?: number | string; paddingBottom?: number | string; paddingEnd?: number | string; paddingHorizontal?: number | string; paddingLeft?: number | string; paddingRight?: number | string; paddingStart?: number | string; paddingTop?: number | string; paddingVertical?: number | string; position?: 'absolute' | 'relative'; right?: number | string; start?: number | string; top?: number | string; width?: number | string; zIndex?: number; /** * @platform ios */ direction?: 'inherit' | 'ltr' | 'rtl'; }; export interface ShadowStyleIOS { shadowColor?: ColorValue; shadowOffset?: { width: number; height: number; }; shadowOpacity?: number; shadowRadius?: number; } export {};