import * as React from 'react'; import { StyleProp, View, ViewStyle } from 'react-native'; declare type Props = React.ComponentPropsWithRef & { /** * Whether to show the indicator or hide it. */ animating?: boolean; /** * The color of the spinner. */ color?: string; /** * Size of the indicator. */ size?: 'small' | 'large' | number; /** * Whether the indicator should hide when not animating. */ hidesWhenStopped?: boolean; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }; declare const _default: React.ComponentType & { /** * Whether to show the indicator or hide it. */ animating?: boolean | undefined; /** * The color of the spinner. */ color?: string | undefined; /** * Size of the indicator. */ size?: number | "small" | "large" | undefined; /** * Whether the indicator should hide when not animating. */ hidesWhenStopped?: boolean | undefined; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }, "color" | "size" | keyof import("react-native").ViewProps | keyof React.RefAttributes | "animating" | "hidesWhenStopped"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics & { /** * Whether to show the indicator or hide it. */ animating?: boolean | undefined; /** * The color of the spinner. */ color?: string | undefined; /** * Size of the indicator. */ size?: number | "small" | "large" | undefined; /** * Whether the indicator should hide when not animating. */ hidesWhenStopped?: boolean | undefined; style?: StyleProp; /** * @optional */ theme: ReactNativePaper.Theme; }> & (({ animating, color: indicatorColor, hidesWhenStopped, size: indicatorSize, style, theme, ...rest }: Props) => JSX.Element), {}>; export default _default;