import { ObjectWithLifecycle } from '../../../typedef/lifecycle/ObjectWithLifecycle'; import { UnitDefinition } from '../../../typedef/definition/UnitDefinition'; export declare class UnitDefinitionWithLifecycleCodec { static encode(obj: ObjectWithLifecycle): { lifecycle: string; definition: any; }; static encodeArray(resource: ObjectWithLifecycle[]): any[]; static decode(o: any): ObjectWithLifecycle; static decodeArray(arr: any[]): ObjectWithLifecycle[]; }