/** * The IProviderNodeResult interface. */ interface IProviderNodeResult { /** * Sets the result with an value. * @param {number} result -The result code of the operation (see class Result for possible values, e.g. Result.OK). * @param {any} value - The returned value of the operation. * @param {string} type (optional) - The variant type of the writeValue to be converted. */ setResult(result: number, value: any, type?: string): void; } /** * The ProviderNodeResult. */ declare class ProviderNodeResult implements IProviderNodeResult { /** * Creates an instance of ProviderNodeResult. * * INTERNAL USAGE ONLY - NOT TO BE INSTANTIATED BY JAVASCRIPT CODE * */ constructor(); /** * Sets the result with an value. * @param {number} result -The result code of the operation (see class Result for possible values, e.g. Result.OK). * @param {any} value - The returned value of the operation. * @param {string} type (optional) - The variant type of the writeValue to be converted. */ setResult(result: number, value: any, type?: string): void; private _addonInstance; } export = ProviderNodeResult;