import type { UmbEntityActionArgs } from './types.js'; import type { UmbAction } from '../action/index.js'; /** * Interface for an entity action. * @interface UmbEntityAction */ export interface UmbEntityAction extends UmbAction> { /** * The href location, the action will act as a link. * @returns {Promise} */ getHref(): Promise; /** * The `execute` method, the action will act as a button. * @returns {Promise} */ execute(): Promise; }