import { DeflateOrInflateOptions } from './options'; import TypeSerializer from './type_serializer'; import { Constructor } from './util'; /** Returns a helper which picks a type serializer for given value or type */ export default function TypeSerializerPicker(backend: string, options?: DeflateOrInflateOptions): { pickForType: (ctor: Constructor) => TypeSerializer; pickForProp: (proto: Object, propertyName: string) => TypeSerializer; pickForValue: (value: unknown) => TypeSerializer; };