import type { BsPrefixPropsWithChildren } from "react-bootstrap/helpers"; import type { ButtonProps } from "react-bootstrap/Button"; import type { RefObject } from "react"; export interface IDrawerHeaderProps extends BsPrefixPropsWithChildren { showBackIcon?: boolean; onBackButtonClick?: () => void; onCloseButtonClick?: () => void; show?: boolean; } export interface IDrawerTitleProps extends BsPrefixPropsWithChildren { } export interface IDrawerContainerProps extends BsPrefixPropsWithChildren { show?: boolean; resizable?: boolean; drawerName?: string; "data-testid"?: string; size?: "md" | "lg"; } export interface IDrawerFooterProps extends BsPrefixPropsWithChildren { primaryButton?: JSX.Element; secondaryButton?: JSX.Element; } export interface IDrawerFooterButtonProps extends ButtonProps { } export interface IDrawerBodyProps extends BsPrefixPropsWithChildren { } export interface IDrawerProps extends BsPrefixPropsWithChildren, Pick { show?: boolean; resizable?: boolean; drawerName?: string; container?: RefObject | HTMLElement; backdrop?: boolean; } export declare enum DrawerType { loading = "loading", modal = "modal", alert = "alert", default = "default" } export declare enum DrawerPosition { right = "right" }