dbus-sdk
Version:
A Node.js SDK for interacting with DBus, enabling seamless service calling and exposure with TypeScript support
13 lines • 917 B
TypeScript
import { DBusSignedValue } from './DBusSignedValue';
import { DBusTypeClass } from './DBusTypeClass';
/**
* Converts a DBusSignedValue instance to a corresponding DBusTypeClass instance based on its type signature.
* This function maps the signature of the input value to the appropriate DBus data type class (e.g., DBusByte, DBusString)
* and recursively processes container types (e.g., arrays, structs) to build nested structures.
*
* @param value - The DBusSignedValue instance to convert, containing a value and its associated DBus type signature.
* @returns A DBusTypeClass instance representing the input value in its specific DBus type class form.
* @throws {SignatureError} If the type signature of the input value is unknown or unsupported.
*/
export declare function SignedValueToTypeClassInstance(value: DBusSignedValue): DBusTypeClass;
//# sourceMappingURL=SignedValueToTypeClassInstance.d.ts.map