import * as React from 'react'; import { TextStyle, ViewStyle } from 'react-native'; export interface IMDCashierChannel { icon?: React.ReactNode; text: string; value: string; } interface IMDCashierProps { styles?: IMDCashierStyle; channelData?: T[]; channelLimit?: number; defaultIndex?: number; paymentTitle?: string; paymentAmount?: number; paymentDescribe?: string; moreButtonText?: string; renderChannel?: (channel: T, index: number) => React.ReactNode; onSelect?: (index: number) => void; } interface IMDCashierState { checkedIndex?: number; expand: boolean; } interface IMDCashierStyle { wrapper?: ViewStyle; text?: TextStyle; headerWrapper?: ViewStyle; headerTitle?: TextStyle; headerAmount?: TextStyle; headerDesc?: TextStyle; itemWrapper?: ViewStyle; channelWrapper?: ViewStyle; bottomButton?: ViewStyle; channelMoreWrapper?: ViewStyle; channelMoreText?: TextStyle; triangle?: ViewStyle; } export declare const MDCashierStyles: IMDCashierStyle; export default class MDCashierChannel extends React.Component, IMDCashierState> { static defaultProps: { styles: IMDCashierStyle; paymentTitle: string; paymentAmount: number; paymentDescribe: string; moreButtonText: string; channelLimit: number; defaultIndex: number; }; constructor(props: IMDCashierProps); render(): JSX.Element; private renderHeader; private renderChannel; private renderChannelList; private renderChannelMore; } export {};