import React from 'react'; import { LayoutChangeEvent, StyleProp, ViewStyle } from 'react-native'; import { WithThemeStyles } from '../style'; import { ProgressStyle } from './style/index'; export interface ProgressProps extends WithThemeStyles { wrapWidth?: number; style?: StyleProp; barStyle?: StyleProp; percent?: number; position?: 'fixed' | 'normal'; unfilled?: boolean; appearTransition?: boolean; } export default class Progress extends React.Component { static defaultProps: { percent: number; position: string; unfilled: boolean; appearTransition: boolean; }; constructor(props: ProgressProps); UNSAFE_componentWillReceiveProps(nextProps: ProgressProps): void; componentDidMount(): void; onLayout: (e: LayoutChangeEvent) => void; normalPercent: (percent?: number) => any; getWidth: (percent?: number | undefined) => number; render(): React.JSX.Element; }