UNPKG

xiot-core-spec-ts

Version:
12 lines (11 loc) 583 B
import { ObjectWithLifecycle } from '../../../typedef/lifecycle/ObjectWithLifecycle'; import { ServiceDefinition } from '../../../typedef/definition/ServiceDefinition'; export declare class ServiceDefinitionWithLifecycleCodec { static encode(obj: ObjectWithLifecycle<ServiceDefinition>): { lifecycle: string; definition: any; }; static encodeArray(resource: ObjectWithLifecycle<ServiceDefinition>[]): any[]; static decode(o: any): ObjectWithLifecycle<ServiceDefinition>; static decodeArray(arr: any[]): ObjectWithLifecycle<ServiceDefinition>[]; }