import { default as React, RefObject } from 'react'; import { DrawerPlacementsType } from '../const/types.js'; export type DrawerTarget = HTMLElement | RefObject | (() => HTMLElement | null | undefined); export interface DrawerProps { open?: boolean; title?: React.ReactNode; width?: number | string; height?: number | string; okText?: string; cancelText?: string; placement?: DrawerPlacementsType; closable?: boolean; footer?: boolean | React.ReactNode; maskClosable?: boolean; target?: DrawerTarget; mask?: boolean; loading?: boolean; escKey?: boolean; destroyOnClose?: boolean; onOk?: () => void; onCancel?: () => void; onClose?: () => void; onOpenChange?: (opened: boolean) => void; children?: React.ReactNode; } declare const Drawer: React.FC; export default Drawer;