import { UmbControllerBase } from '../../../../libs/class-api/index.js'; import type { UmbApi } from '../../../../libs/extension-api/index.js'; export interface UmbCollectionAction extends UmbApi { /** * The href location, the action will act as a link. * @returns {undefined | Promise} */ getHref?: () => Promise; /** * Determine if the UI should indicate that more options will appear when interacting with this. * @returns {undefined | Promise} */ hasAddionalOptions?: () => Promise; /** * The `execute` method, the action will act as a button. * @returns {Promise} */ execute(): Promise; } export declare abstract class UmbCollectionActionBase extends UmbControllerBase implements UmbCollectionAction { abstract execute(): Promise; }