import { TypedAction } from "../action/actions"; import { ServiceSkeleton } from "../elements/service"; import { Awaitable, StringKeyOf } from "../../../util/data"; import { GameState } from "../../player/gameState"; import { ActionExecutionInjection } from "./action"; import { LogicAction } from "../action/logicAction"; import { Story } from "../elements/story"; export type ServiceActionContentType = { "service:action": [type: string, args: unknown[]]; }; export declare class ServiceAction extends TypedAction, ServiceSkeleton> { executeAction(gameState: GameState, injection: ActionExecutionInjection): { type: any; node: import("./tree/actionTree").ContentNode | null; wait?: import("../gameTypes").StackModelWaiting | null; } | Awaitable | (import("../gameTypes").CalledActionResult | Awaitable)[] | Awaitable<{ type: any; node: import("./tree/actionTree").RenderableNode | null; }, { type: any; node: import("./tree/actionTree").RenderableNode | null; }> | null; stringify(_story: Story, _seen: Set, _strict: boolean): string; }