import React, { Component } from 'react'; import { DrawerProps, DrawerState } from './iDrawer'; declare class Drawer extends Component { constructor(props: DrawerProps); drawer: any; parentDrawer: any; _onDocumentKeyupListener: any; componentDidUpdate(preProps: DrawerProps): void; componentWillReceiveProps(nextProps: DrawerProps): void; componentDidMount(): void; componentWillUnmount(): void; handleDocumentKeyUp: (e: React.KeyboardEvent) => void; push(): void; pull(): void; fMaskClick(): void; fCloseClick(): void; fDrawerTransitionEnd(): void; renderMask(): JSX.Element | null; renderClose(): JSX.Element | null; renderBody(): JSX.Element; renderAll(value: any): JSX.Element | null; getParent(): HTMLElement | null; render(): React.ReactPortal; } export default Drawer;