import * as React from "react"; import { EasingFunction, StyleProp, TextStyle } from "react-native"; import { ITheme } from "@ef-carbon/react-native-style"; import Media from "../../State"; export declare type OnStateChange = (state: Media) => void; export interface IProps { onStateChange?: OnStateChange; state: Media; theme?: ITheme; style?: StyleProp; animate?: boolean; translateDelay?: number; translateDuration?: number; translateEasing?: EasingFunction; } export interface IState { width: number; } declare class State extends React.PureComponent { constructor(props: IProps); render(): React.ReactNode; readonly translateDuration: number; readonly translateEasing: EasingFunction | undefined; readonly translateDelay: number; private readonly styles; private readonly handleLayout; private readonly handlePress; } export interface IStatic extends React.ComponentClass { } declare const component: IStatic; export { component as Component }; export default State;