export default class ProcessOutput { /** * @param {import("./Ports").OutPorts} ports - Component outports * @param {import("./ProcessContext").default} context - Processing context */ constructor(ports: import("./Ports").OutPorts, context: import("./ProcessContext").default); ports: import("./Ports").OutPorts; context: import("./ProcessContext").default; nodeInstance: import("./Component.js").Component; ip: IP; result: { [x: string]: any; }; scope: string; /** * @param {Error|Error[]} err * @returns {void} */ error(err: Error | Error[]): void; /** * @param {string} port - Port to send to * @param {IP|any} packet - IP or data to send * @returns {void} */ sendIP(port: string, packet: IP | any): void; /** * @param {Error|Array|Object} outputMap */ send(outputMap: Error | Array | { [x: string]: any; }): void; /** * @param {Error|Array|Object} outputMap */ sendDone(outputMap: Error | Array | { [x: string]: any; }): void; /** * @param {any} data * @param {Object} [options] */ pass(data: any, options?: { [x: string]: any; }): void; /** * @param {Error|Array} [error] */ done(error?: Error | Array): void; } import IP from "./IP.js";