import React from 'react'; import type { DrawerProps } from '@vtex-components/drawer'; import type { PropsWithChildren, ComponentPropsWithoutRef } from 'react'; import MinicartDrawerFooter from './Footer'; import MinicartDrawerToast from './Toast'; import type { Props as MinicartDrawerContentProps } from './Content'; import type { Item } from '../types'; interface Message extends Pick, 'type' | 'content'> { id: string; } export interface Props extends DrawerProps, Pick, 'removeItem' | 'updateItem' | 'numberFormat' | 'items'>, Pick, 'onCheckout' | 'total' | 'subTotal' | 'numberFormat' | 'disableViewCart'> { hideToast: (id: string) => void; messages: Message[]; variant?: string; } declare const MinicartDrawer: ({ isOpen, items, total, subTotal, onClose, removeItem, updateItem, numberFormat, onCheckout, hideToast, disableViewCart, messages, variant, }: React.PropsWithChildren>) => JSX.Element; export default MinicartDrawer;