UNPKG

xiot-core-spec-ts

Version:
9 lines (8 loc) 534 B
import { ObjectWithLifecycle } from '../../../typedef/lifecycle/ObjectWithLifecycle'; import { PropertyDefinition } from '../../../typedef/definition/PropertyDefinition'; export declare class PropertyDefinitionWithLifecycleCodec { static encode(obj: ObjectWithLifecycle<PropertyDefinition>): any; static encodeArray(resource: ObjectWithLifecycle<PropertyDefinition>[]): any[]; static decode(o: any): ObjectWithLifecycle<PropertyDefinition>; static decodeArray(arr: any[]): ObjectWithLifecycle<PropertyDefinition>[]; }