import React from 'react'; import Inner from './inner'; import type { DrawerV2Props, DrawerV1Props } from './types'; export interface QuickShowRet { hide: () => void; } export type DrawerProps = DrawerV2Props | DrawerV1Props; declare class Drawer extends React.Component { static Inner: typeof Inner; static show: (config?: DrawerProps) => QuickShowRet; static withContext:

(WrappedComponent: React.ComponentType

) => React.ComponentType

; render(): React.JSX.Element; } declare const _default: import("../config-provider/types").ConfiguredComponentClass & { show: (config?: DrawerProps | undefined) => QuickShowRet; Inner: typeof Inner; withContext:

(WrappedComponent: React.ComponentType

) => React.ComponentType

; }; export default _default;