import { Action, ActionSuccess } from "./Action"; /**An [[Action]] to delay execution, primarily used for a [[Macro]] * * @example * ```typescript * new DelayAction(1000,"wait") * ``` */ export declare class DelayAction implements Action { time: number; name: string | void; __variant__: string; /** * @param time Time to delay for in milliseconds */ constructor(time: number, name?: string); run(): Promise; static fromJSON(json: { name?: string; time: number; }): DelayAction; }