///
import { Component } from 'react';
import { DrawerPropTypes } from './PropsType';
export default class Drawer extends Component {
static defaultProps: {
prefixCls: string;
sidebarStyle: {};
contentStyle: {};
overlayStyle: {};
dragHandleStyle: {};
docked: boolean;
open: boolean;
transitions: boolean;
touch: boolean;
enableDragHandle: boolean;
position: string;
dragToggleDistance: number;
onOpenChange: () => any;
};
notTouch: any;
state: {
sidebarWidth: number;
sidebarHeight: number;
sidebarTop: number;
dragHandleTop: number;
touchIdentifier: any;
touchStartX: any;
touchStartY: any;
touchCurrentX: any;
touchCurrentY: any;
touchSupported: boolean;
};
componentDidMount(): void;
componentDidUpdate(): void;
onOverlayClicked: () => void;
onTouchStart: (ev: any) => void;
onTouchMove: (ev: any) => void;
onTouchEnd: () => void;
onScroll: () => void;
inCancelDistanceOnScroll: () => any;
isTouching: () => boolean;
saveSidebarSize: () => void;
touchSidebarWidth: () => any;
touchSidebarHeight: () => any;
renderStyle: ({sidebarStyle, isTouching, overlayStyle, contentStyle}: any) => void;
render(): JSX.Element;
}