import { ComponentProps, LegacyRef, ReactNode, Ref } from 'react'; import { IconChevronLeft, IconDotsHorizontalOutline } from '../../icons'; import { IconButton } from '../IconButton'; import { Dropdown } from '../Dropdown'; import { Drawer } from '../Drawer'; import { BoxProps } from '../Box'; import { BadgeCompProps } from '../Badge'; export type DrawerProps = ComponentProps; export type DrawerDFPropsForStyles = { $multipleContents: boolean; $header: boolean; $footer: boolean; }; export type DrawerDFHeaderProps = BoxProps & { refEl?: LegacyRef; title?: ReactNode; subTitle?: ReactNode; badge?: (BadgeCompProps & { text: string; }) | undefined; rightBlock?: ReactNode; footerBlock?: ReactNode; }; export type DrawerDFContentProps = BoxProps & { fixedWidth?: string; refEl?: Ref; $isFirstSingleContent?: boolean; $isLastSingleContent?: boolean; }; export type DrawerDFFooterProps = BoxProps & { refEl?: LegacyRef; }; export type DrawerDFDotsIconButtonProps = ComponentProps & { dropdownProps?: ComponentProps; iconSize?: ComponentProps['size']; }; export type DrawerDFBackIconButtonProps = ComponentProps & { iconSize?: ComponentProps['size']; };