import { UmbOpenModalController } from '../../controller/open-modal.controller.js';
import { UMB_INFO_MODAL } from './info-modal.token.js';
/**
 *
 * @param host {UmbControllerHost} - The host controller
 * @param data {UmbInfoModalData} - The data to pass to the modal
 * @returns {UmbOpenModalController} The modal controller instance
 */
export function umbInfoModal(host, data) {
    return new UmbOpenModalController(host).open(UMB_INFO_MODAL, { data });
}
