interface IProps { isOpen: boolean; onClose: () => void; title: string; description: string; onYes: () => void; getLocalizedText?: (text: string, params?: Record) => string; } /** * ConfirmationModal component renders a modal dialog with a title, description, and two action buttons: "Cancel" and "Yes". * * @param {boolean} isOpen - Determines whether the modal is open or closed. * @param {() => void} param.onClose - Callback function to handle the closing of the modal. * @param {string} param.title - The title text displayed at the top of the modal. * @param {string} param.description - The description text displayed in the body of the modal. * @param {() => void} param.onYes - Callback function to handle the "Yes" button click event. * * @returns {React.JSX.Element} The rendered ConfirmationModal component. */ declare const ConfirmationModal: ({ isOpen, onClose, title, description, onYes, getLocalizedText, }: IProps) => React.JSX.Element; export default ConfirmationModal;