type DialogProgress = | number | "indeterminate" | { value: number; max: number;};
Represents the progress of the dialog.
The DialogProgress type defines the structure of the progress indicator that can be displayed within a dialog. It can be a number, ‘indeterminate’, or an object containing a value and a max, providing flexibility in how progress is indicated to users.