import { UmbOpenModalController } from '../../controller/open-modal.controller.js';
import { UMB_CONFIRM_MODAL } from './confirm-modal.token.js';
/**
 *
 * @param host {UmbControllerHost} - The host controller
 * @param args {UmbConfirmModalData} - The data to pass to the modal
 * @param data
 * @returns {UmbOpenModalController} The modal controller instance
 */
export function umbConfirmModal(host, data) {
    return new UmbOpenModalController(host).open(UMB_CONFIRM_MODAL, { data });
}
