1import { ClassAttributes, ComponentProps, ComponentType } from 'react';
2import { AccessibilityRole, StyleProp, View as NativeView, ViewStyle as NativeViewStyle } from 'react-native';
3type NativeViewProps = ComponentProps<typeof NativeView> & ClassAttributes<typeof NativeView>;
4/**
5 * https://baconbrix.gitbook.io/react-native-web/primitives/view
6 */
7export interface WebViewStyle {
8    /** @platform web */
9    backdropFilter?: string;
10    /** @platform web */
11    animationDelay?: string;
12    /** @platform web */
13    animationDirection?: string;
14    /** @platform web */
15    animationDuration?: string;
16    /** @platform web */
17    animationFillMode?: string;
18    /** @platform web */
19    animationName?: string | any[];
20    /** @platform web */
21    animationIterationCount?: number | 'infinite';
22    /** @platform web */
23    animationPlayState?: string;
24    /** @platform web */
25    animationTimingFunction?: string;
26    /** @platform web */
27    backgroundAttachment?: string;
28    /** @platform web */
29    backgroundBlendMode?: string;
30    /** @platform web */
31    backgroundClip?: string;
32    /** @platform web */
33    backgroundImage?: string;
34    /** @platform web */
35    backgroundOrigin?: 'border-box' | 'content-box' | 'padding-box';
36    /** @platform web */
37    backgroundPosition?: string;
38    /** @platform web */
39    backgroundRepeat?: string;
40    /** @platform web */
41    backgroundSize?: string;
42    /** @platform web */
43    boxShadow?: string;
44    /** @platform web */
45    boxSizing?: string;
46    /** @platform web */
47    clip?: string;
48    /** @platform web */
49    cursor?: string;
50    /** @platform web */
51    filter?: string;
52    /** @platform web */
53    gridAutoColumns?: string;
54    /** @platform web */
55    gridAutoFlow?: string;
56    /** @platform web */
57    gridAutoRows?: string;
58    /** @platform web */
59    gridColumnEnd?: string;
60    /** @platform web */
61    gridColumnGap?: string;
62    /** @platform web */
63    gridColumnStart?: string;
64    /** @platform web */
65    gridRowEnd?: string;
66    /** @platform web */
67    gridRowGap?: string;
68    /** @platform web */
69    gridRowStart?: string;
70    /** @platform web */
71    gridTemplateColumns?: string;
72    /** @platform web */
73    gridTemplateRows?: string;
74    /** @platform web */
75    gridTemplateAreas?: string;
76    /** @platform web */
77    outline?: string;
78    /** @platform web */
79    outlineColor?: string;
80    /** @platform web */
81    overflowX?: string;
82    /** @platform web */
83    overflowY?: string;
84    /** @platform web */
85    overscrollBehavior?: 'auto' | 'contain' | 'none';
86    /** @platform web */
87    overscrollBehaviorX?: 'auto' | 'contain' | 'none';
88    /** @platform web */
89    overscrollBehaviorY?: 'auto' | 'contain' | 'none';
90    /** @platform web */
91    perspective?: string;
92    /** @platform web */
93    perspectiveOrigin?: string;
94    /** @platform web */
95    touchAction?: string;
96    /** @platform web */
97    transformOrigin?: string;
98    /** @platform web */
99    transitionDelay?: string;
100    /** @platform web */
101    transitionDuration?: string;
102    /** @platform web */
103    transitionProperty?: string;
104    /** @platform web */
105    transitionTimingFunction?: string;
106    /** @platform web */
107    userSelect?: string;
108    /** @platform web */
109    visibility?: string;
110    /** @platform web */
111    willChange?: string;
112    /** @platform web */
113    position?: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
114}
115export type ViewStyle = Omit<NativeViewStyle, 'position'> & WebViewStyle;
116export type WebViewProps = {
117    style?: StyleProp<ViewStyle>;
118    accessibilityRole?: 'list' | 'listitem' | 'complementary' | 'contentinfo' | 'region' | 'navigation' | 'main' | 'article' | 'banner' | AccessibilityRole;
119};
120export type ViewProps = WebViewProps & Omit<NativeViewProps, 'style' | 'accessibilityRole'>;
121declare const _default: ComponentType<ViewProps>;
122export default _default;
123//# sourceMappingURL=View.d.ts.map