import React from 'react'; import { StyleProp, View, ViewStyle } from 'react-native'; import { WithThemeStyles } from '../style'; import { TagPropsType } from './PropsType'; import { TagStyle } from './style/index'; export interface TagNativeProps extends TagPropsType, WithThemeStyles { style?: StyleProp; } export default class Tag extends React.Component { static defaultProps: { disabled: boolean; small: boolean; selected: boolean; closable: boolean; onClose(): void; afterClose(): void; onChange(): void; onLongPress(): void; }; closeDom: View | null; constructor(props: TagNativeProps); componentWillReceiveProps(nextProps: TagNativeProps): void; onPress: () => void; handleLongPress: () => void; onTagClose: () => void; onPressIn: (styles: { tag: import("react-native").RegisteredStyle; wrap: import("react-native").RegisteredStyle; wrapSmall: import("react-native").RegisteredStyle; text: import("react-native").RegisteredStyle; textSmall: import("react-native").RegisteredStyle; normalWrap: import("react-native").RegisteredStyle; normalText: import("react-native").RegisteredStyle; activeWrap: import("react-native").RegisteredStyle; activeText: import("react-native").RegisteredStyle; disabledWrap: import("react-native").RegisteredStyle; disabledText: import("react-native").RegisteredStyle; close: import("react-native").RegisteredStyle; closeIOS: import("react-native").RegisteredStyle; closeAndroid: import("react-native").RegisteredStyle; closeText: import("react-native").RegisteredStyle; closeTransform: import("react-native").RegisteredStyle; }) => () => void; onPressOut: (styles: { tag: import("react-native").RegisteredStyle; wrap: import("react-native").RegisteredStyle; wrapSmall: import("react-native").RegisteredStyle; text: import("react-native").RegisteredStyle; textSmall: import("react-native").RegisteredStyle; normalWrap: import("react-native").RegisteredStyle; normalText: import("react-native").RegisteredStyle; activeWrap: import("react-native").RegisteredStyle; activeText: import("react-native").RegisteredStyle; disabledWrap: import("react-native").RegisteredStyle; disabledText: import("react-native").RegisteredStyle; close: import("react-native").RegisteredStyle; closeIOS: import("react-native").RegisteredStyle; closeAndroid: import("react-native").RegisteredStyle; closeText: import("react-native").RegisteredStyle; closeTransform: import("react-native").RegisteredStyle; }) => () => void; render(): JSX.Element; }