import { PartialAction, PartialReflex } from './types'; import * as client from '@keneanung/iron-realms-nexus-typings'; /** * Generator for IDs. */ export declare class IdGenerator { private lastId; /** * Returns a unique identifier. * @returns {number} A new id */ getId: () => number; } /** * Converts an array of potentially partial reflexes to an array of complete reflexes. * @param {PartialReflex[]} reflexes The array of partial reflexes to convert. * @param {IdGenerator} idGenerator The IdGenerator to use to generate IDs of new items. * @param {string} packageDefinitionFile The path to the package definition file. * @returns {client.Reflex[]} The converted array of (now complete) reflexes. */ export declare const convertNexusReflexArray: (reflexes: PartialReflex[], idGenerator: IdGenerator, packageDefinitionFile: string) => client.Reflex[]; /** * Converts an array of potentially partial actions to an array of complete actions. * @param {PartialAction[]} actions The array of partial actions to convert. * @param {string} packageDefinitionFile The path to the package definition file. * @returns {client.Action[]} The converted array of (now complete) actions. */ export declare const convertNexusActionArray: (actions: PartialAction[], packageDefinitionFile: string) => client.Action[];