import React from 'react'; import { type PlainValueOrAnimatedValue } from '../utils'; export type CupertinoActivityIndicatorProps = { color: PlainValueOrAnimatedValue; /** * Whether to show the indicator (true, the default) or hide it (false). * @default true */ animating?: PlainValueOrAnimatedValue; /** * Radius of the spinner. * * Defaults to 10 pixels. */ radius?: PlainValueOrAnimatedValue; }; export type CupertinoActivityIndicatorPartiallyRevealedProps = CupertinoActivityIndicatorProps & { /** * Determines the percentage of spinner ticks that will be shown. Typical usage would * display all ticks, however, this allows for more fine-grained control such as * during pull-to-refresh when the drag-down action shows one tick at a time as * the user continues to drag down. * * Must be between zero and one, inclusive. */ progress: PlainValueOrAnimatedValue; }; export declare const CupertinoActivityIndicator: ((props: CupertinoActivityIndicatorProps) => React.JSX.Element) & { PartiallyRevealed: (props: CupertinoActivityIndicatorPartiallyRevealedProps) => React.JSX.Element; }; //# sourceMappingURL=index.d.ts.map