import { UmbControllerBase } from '../../../../libs/class-api/index.js'; export interface UmbBulkTreePickerActionArgs { /** * The entities the operation is performed for. */ selection: Array; /** * Headline for the destination tree picker (localization alias, e.g. `#actions_move`). */ pickerHeadline: string; /** * Confirm-button label for the destination tree picker (localization alias). */ pickerConfirmLabel: string; /** * Headline for the progress dialog (localization alias, e.g. `#actions_moveInProgress`). */ progressHeadline: string; foldersOnly?: boolean; hideTreeRoot?: boolean; treeAlias?: string; searchProviderAlias?: string; /** * Performs the actual bulk operation against the chosen destination (`null` = root). Called once the * user has picked a destination; its returned promise is awaited behind an indeterminate progress dialog. */ perform: (destinationUnique: string | null) => Promise; } /** * Shared flow for bulk actions that pick a destination from a tree and then run a single, server-side * operation against it (e.g. "move to" and "duplicate to"): open the destination tree picker, await the * operation behind an indeterminate progress dialog, then reload the parent entity. */ export declare class UmbBulkTreePickerActionController extends UmbControllerBase { #private; run(args: UmbBulkTreePickerActionArgs): Promise; }