import type { ModalProps } from "antd"; import type { ReactNode } from "react"; import type { StrokeIconName } from "../../components/icon/strokeIconNodes"; export interface ConfirmModalProps { open: boolean; title: ReactNode; okText: ReactNode; cancelText: ReactNode; onOk: () => void; onCancel: () => void; okType?: "danger" | "primary"; confirmLoading?: boolean; okButtonProps?: { disabled?: boolean; }; /** CRM only: danger icon beside the title and a solid danger OK button. */ destructive?: boolean; /** CRM only: line under the body, e.g. "Không thể hoàn tác.". */ warning?: ReactNode; /** CRM only: line icon before the OK label. */ okIcon?: StrokeIconName; /** CRM only: muted text at the left of the footer, before the buttons. */ footerNote?: ReactNode; /** Where the modal mounts; defaults to inline (`false`). */ getContainer?: ModalProps["getContainer"]; children: ReactNode; } declare const ConfirmModal: ({ open, title, okText, cancelText, onOk, onCancel, okType, confirmLoading, okButtonProps, destructive, okIcon, warning, footerNote, getContainer, children, }: ConfirmModalProps) => import("react/jsx-runtime").JSX.Element; export default ConfirmModal; //# sourceMappingURL=ConfirmModal.d.ts.map