import { ReactNode } from "react";
import { DrawerProps } from "antd";
import "./style.scss";
export type DrawerPanelProps = {
    open: boolean;
    className?: string;
    children?: ReactNode;
    footer?: ReactNode;
    extraFooter?: {
        text: string;
        type?: "primary" | "secondary" | "subtle";
        onClick: () => void;
    }[];
    confirmDisabled?: boolean;
    confirmLoading?: boolean;
    showClose?: boolean;
    extra?: ReactNode;
    canClose?: boolean;
    showConfirm?: boolean;
    onClose?: (value?: any) => void;
    onConfirm?: (value?: any) => void;
    canDragResize?: boolean;
    okText?: string;
    cancelText?: string;
    closeReminder?: boolean;
} & DrawerProps;
export default function Drawer({ open, className, confirmDisabled, confirmLoading, children, footer, extraFooter, extra, canClose, showClose, showConfirm, onClose, onConfirm, width: customWidth, canDragResize, okText, cancelText, closeReminder, ...rest }: DrawerPanelProps): JSX.Element;
