import * as React from 'react'; import ActionSheetItem from './ActionSheetItem'; import { ConfigConsumerProps } from '../config-provider'; export interface ActionSheetProps { title?: string; message?: string; cancelText?: string; onClose?: () => void; onCancel?: () => void; maskClosable?: boolean; prefixCls?: string; className?: string; visible?: boolean; } export interface ActionSheetItemProps { onClick?: () => void; } declare class ActionSheet extends React.Component { static defaultProps: { prefixCls: string; cancelText: string; maskClosable: boolean; }; static Item: typeof ActionSheetItem; static getDerivedStateFromProps(nextProps: ActionSheetProps, prevState: any): { bodyElement: any; originBodyStyle: { position: any; overflowY: any; height: any; width: any; }; } | null; state: { bodyElement: HTMLBodyElement; originBodyStyle: { position: string; overflowY: string; width: string; height: string; }; }; componentWillUnmount(): void; handleAfterClose: () => void; renderHeader: (prefixCls: string) => JSX.Element | null; renderActionSheet: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; } export default ActionSheet;