/**----------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { DialogAction } from "./dialog-action"; import { DialogCloseResult } from "./dialog-close-result"; /** * Represents the possible result types of the Dialog. * * Use the `DialogResult` type to handle the result when a Dialog closes. If the result is a [`DialogCloseResult`](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogcloseresult), the **Close** button was clicked. * Otherwise, the value is the configuration of the action button that was clicked. ([See example.](https://www.telerik.com/kendo-angular-ui/components/dialogs/api/dialogservice#open)) * */ export type DialogResult = DialogCloseResult | DialogAction;