import * as React from 'react'; import { Drawer as NextDrawer } from '@alifd/next'; import { DrawerProps as NextDrawerProps } from '@alifd/next/types/Drawer'; import { OperationProps } from '@/common/operations'; export interface DrawerProps extends NextDrawerProps { /** * 弹窗大小 */ size?: 'small' | 'medium' | 'large' | 'autoLarge'; operations?: object[]; operationConfig?: object; onOk?: any; onCancel?: any; footer?: any; titleTip?: any; } export interface DrawerOperationsProps extends OperationProps { onOk?: any; onCancel?: any; } export declare class InnerProDrawer extends React.Component { static displayName: 'ProDrawer'; static propTypes: DrawerProps; constructor(props: DrawerProps); onOk: (event: Object) => void; onCancel: (event: Object) => void; onClose: (trigger: String, event: Object) => void; show: () => void; open: () => void; hide: () => void; close: () => void; render(): React.JSX.Element; } export declare const ProDrawer: typeof InnerProDrawer & typeof NextDrawer;