import { PartialScriptAction } from '../types'; import * as client from '@keneanung/iron-realms-nexus-typings'; /** * Class for a Nexus script action. */ export declare class ScriptAction implements client.ScriptAction { action: 'script'; script: string; /** * Constructs a new complete script action object from a partial one. * @param {PartialScriptAction} partialScriptAction A partial script object. This object might additionally contain the scriptFile property, * which makes this function replace the script property with the content of the given file. The path of that file must * be relative to the packageDefinitionFile. * @param {string} packageDefinitionFile The (absolute) path to the package definition file that this function pbject is built from. */ constructor(partialScriptAction: PartialScriptAction, packageDefinitionFile: string); }