import { PartialFunction } from '../types'; import { IdGenerator } from '../utils'; import * as client from '@keneanung/iron-realms-nexus-typings'; /** * Class representing a function nexus reflex object. */ export declare class NexusFunction implements client.FunctionReflex { name: string; id: number; type: 'function'; enabled: boolean; code: string; /** * Creates a complete function object from a partial one. * @param {PartialFunction} partialFunction A partial function object. This object might additionally contain the codeFile property, * which makes this function replace the code property with the content of the given file. The path of that file must * be relative to the packageDefinitionFile. * @param {IdGenerator} idGenerator The IdGenerator to use for retrieving the ID. * @param {string} packageDefinitionFile The (absolute) path to the package definition file that this function pbject is built from. */ constructor(partialFunction: PartialFunction, idGenerator: IdGenerator, packageDefinitionFile: string); }