import * as React from 'react'; import { TextStyle } from 'react-native'; import { IMDOptionItemStyle } from './option-item'; import IActionOptionSet from './option-model'; export interface IMDActionOptionSet extends IActionOptionSet { temp?: string; } export interface IMDActionSheetProps { styles?: IMDActionSheetStyle; title?: string; options: IMDActionOptionSet[]; isVisible?: boolean; cancelText?: string; defaultIndex?: number; onChoose?: (index: number, data: IMDActionOptionSet) => void; onCancle?: () => void; } interface IMDActionSheetState { isVisible: boolean; } export interface IMDActionSheetStyle extends IMDOptionItemStyle { itemCancle: TextStyle; } export declare const MDActionSheetStyles: { itemWrapper?: import("react-native").ViewStyle | undefined; item?: TextStyle | undefined; itemInverse?: TextStyle | undefined; itemDisabled?: TextStyle | undefined; itemDescribe?: TextStyle | undefined; itemCancle: { marginTop: any; textAlign: string; backgroundColor: any; fontSize: any; color: any; }; }; export default class MDActionSheet extends React.Component { static defaultProps: { styles: { itemWrapper?: import("react-native").ViewStyle | undefined; item?: TextStyle | undefined; itemInverse?: TextStyle | undefined; itemDisabled?: TextStyle | undefined; itemDescribe?: TextStyle | undefined; itemCancle: { marginTop: any; textAlign: string; backgroundColor: any; fontSize: any; color: any; }; }; cancelText: string; }; constructor(props: IMDActionSheetProps); componentWillReceiveProps(nextProps: IMDActionSheetProps): void; render(): JSX.Element; private renderCancleItem; } export {};