import { DrawerProps as Props } from 'antd'; import { ReactNode } from 'react'; export type DrawerAction = Partial<{ onSubmit: () => void; onDiscard: () => void; submitTitle: string; discardTitle: string; isLoading?: boolean; }>; export interface DrawerProps extends Omit { title?: string | ReactNode; transparent?: boolean; onClose?: () => void; headerHeight?: number; wrapperClassName?: string; } declare const Drawer: ({ title, closable, transparent, submitTitle, discardTitle, onClose, onSubmit, onDiscard, classNames, styles, children, isLoading, headerHeight, wrapperClassName, ...rest }: DrawerProps & DrawerAction) => import("react/jsx-runtime").JSX.Element; export { Drawer };