import * as React from "react"; import { EasingFunction, StyleProp, ViewStyle } from "react-native"; import { ITheme } from "@ef-carbon/react-native-style"; import State from "../../State"; export interface IProps { state: State; style?: StyleProp; theme?: ITheme; initial?(height: number): number; translateDelay?: number; translateDuration?: number; translateEasing?: EasingFunction; } export interface IState { height: number; } export interface IGenerateOptions { style: StyleProp; } declare class Bar extends React.PureComponent { private readonly translate; static initial: (height: number) => number; static translateDelay: number; static translateDuration: number; static translateEasing: EasingFunction; static minimum: number; constructor(props: IProps); componentDidMount(): void; componentDidUpdate({ state: prev }: IProps): void; render(): React.ReactNode; private initial; readonly translateDelay: number; readonly translateDuration: number; readonly translateEasing: EasingFunction; private readonly handleLayout; private start; private readonly repeat; private stop; } export interface IStatic extends React.ComponentClass { } declare const component: IStatic; export { component as Component }; export default Bar;