import * as React from 'react'; import { EasingFunction, StyleProp, TextStyle } from 'react-native'; import { ITheme } from '@ef-carbon/react-native-style'; export interface IProps { progress: number; theme?: ITheme; style?: StyleProp; animate?: boolean; animationDelay?: number; animationDuration?: number; animationEasing?: EasingFunction; } export interface IState { width?: number; progress?: number; } declare class ProgressBar extends React.PureComponent { constructor(props: IProps); componentWillReceiveProps({ progress: value }: IProps): void; render(): React.ReactNode; readonly progress: number; private readonly handleLayout; readonly animationDuration: number; readonly animationEasing: EasingFunction | undefined; readonly animationDelay: number; } export interface IStatic extends React.ComponentClass { } declare const component: IStatic; export { component as Component }; export default ProgressBar;