import React, { PureComponent } from 'react'; declare type TimeUnitType = 's' | 'min' | 'hour'; declare type CountdownType = 'm' | 'hm'; declare type IProps = { dpCodes: string[]; timeUnit: Omit; countdownType: CountdownType; }; interface IState { names: { [dpCode: string]: string; }; } export default class CountdownList extends PureComponent { static defaultProps: { dpCodes: any[]; timeUnit: string; countdownType: string; }; constructor(props: IProps); componentDidMount(): void; componentWillReceiveProps(nextProps: any): void; get data(): { key: string; title: string; arrow: boolean; onlyone: boolean; onPress: () => void; }[]; handlePress: ({ value, hour }: { value: any; hour: any; }, dpCode: any) => void; formatNames: (props?: Readonly & Readonly<{ children?: React.ReactNode; }>) => Promise; render(): JSX.Element; } export {};