public export type DataTransformer = { serialize ( object ) : any ; deserialize ( object ) : any ; } ; public export type CombinedDataTransformer = { input : DataTransformer ; output : DataTransformer ; } ; public export type CombinedDataTransformerClient = { input : Pick < DataTransformer , 'serialize' > ; output : Pick < DataTransformer , 'deserialize' > ; } ; public export type DataTransformerOptions = DataTransformer | CombinedDataTransformer ; public export type ClientDataTransformerOptions = DataTransformer | CombinedDataTransformerClient ;