import React from 'react'; import { ColorValue } from 'react-native'; import { WithThemeStyles } from '../style'; import { ActivityIndicatorStyle } from './style/index'; export interface ActivityIndicatorNativeProps extends WithThemeStyles { color?: ColorValue; animating?: boolean; toast?: boolean; size?: number | 'large' | 'small'; text?: string; } export default class RNActivityIndicator extends React.Component { static defaultProps: { animating: boolean; color: string; size: string; toast: boolean; }; _renderToast(): React.JSX.Element; _renderSpinner(): React.JSX.Element; render(): React.JSX.Element | null; }