import { ContentNode } from "../action/tree/actionTree"; import { LogicAction } from "../action/logicAction"; import { Action } from "../action/action"; import { Chained, Proxied } from "../action/chain"; import { Awaitable } from "../../../util/data"; import { CalledActionResult } from "../gameTypes"; import type { Story } from "../elements/story"; export declare class TypedAction = Record, T extends keyof ContentType & string = keyof ContentType & string, Callee extends LogicAction.GameElement = LogicAction.GameElement> extends Action { callee: Callee; constructor(callee: Proxied>, type: T, contentNode: ContentNode); unknownTypeError(): void; resolveAwaitable(handler: (resolve: ((value: T) => void), awaitable: Awaitable) => Promise | void, awaitable?: Awaitable): Awaitable; is(parent: new (...args: any[]) => T, type: string): this is T; /** * {Action Name}#{Action ID}(Action Type){{Action Content}} */ stringify(_story: Story, _seen: Set, _strict: boolean): string; stringifyWithName(name: string): string; stringifyWithContent(name: string, content: string): string; }