import Command from "../core/Command.js"; import EventScope from "../core/EventScope.js"; import XNode from "../core/XNode.js"; export type onEventSetBusyTypes = "target" | "current-target" | "till-current-target" | "ancestors" | "button"; export interface IActionOptions { onEvent?: string | string[] | EventScope | EventScope[] | Command | Command[]; onEventTarget?: EventTarget; onEventSetBusy?: MarkBusySet; defer?: number; blockMultipleExecution?: boolean; success?: string | XNode; successTitle?: string; successMode?: "alert" | "notify"; notifyDelay?: number; confirm?: string | XNode; confirmTitle?: string; validate?: boolean | string | XNode; validateTitle?: string; dispatchEvent?: string | EventScope; close?: boolean; authorize?: string[] | boolean; } export interface IAuthorize { authorize: string[] | boolean; authorized: boolean; } export declare class MarkBusySet { private set; static none: MarkBusySet; static target: MarkBusySet; static currentTarget: MarkBusySet; static tillCurrentTarget: MarkBusySet; static button: MarkBusySet; static buttonOrAnchor: MarkBusySet; static selector(selector: string): MarkBusySet; static allAncestors: MarkBusySet; private constructor(); find(event: Event): Generator; } export default function Action({ onEvent, onEventTarget, onEventSetBusy, blockMultipleExecution, dispatchEvent, authorize, defer, success, successTitle, successMode, confirm, confirmTitle, validate, validateTitle, close, notifyDelay, }?: IActionOptions): (target: any, key: string | symbol, descriptor: any) => any; //# sourceMappingURL=Action.d.ts.map