import type { BsPrefixPropsWithChildren } from "react-bootstrap/helpers"; import type { ModalProps } from "react-bootstrap/Modal"; import type { ModalDialogProps } from "react-bootstrap/ModalDialog"; export interface IModalHeaderProps extends BsPrefixPropsWithChildren { onCloseButtonClick?: () => void; closeButton?: boolean; show?: boolean; closeLabel?: string; isCloseOnEscapeKey?: boolean; "data-testid"?: string; } declare type ModalButtonVariants = "danger" | "dark" | "info" | "light" | "primary" | "secondary" | "success" | "warning"; export interface IModalButtonProps { ["data-testid"]?: string; className?: string; disabled?: boolean; onClick: () => void; text: string; type?: "button" | "reset" | "submit" | "cancel"; size?: "sm" | "lg"; variant?: ModalButtonVariants; } export interface IModalTitleProps extends BsPrefixPropsWithChildren { "data-testid"?: string; } export interface IModalAttentionProps extends BsPrefixPropsWithChildren { className?: string; } export interface IModalBodyProps extends BsPrefixPropsWithChildren { } export interface IModalFooterProps extends BsPrefixPropsWithChildren { } export interface IModalProps extends Omit { } export interface IModalDialogProps extends ModalDialogProps { } export {};