/*! * Copyright (c) 2020 Ville de Montreal. All rights reserved. * Licensed under the MIT license. * See LICENSE file in the project root for full license information. */ import { ISerializer } from './ISerializer'; import { ISerializers } from './ISerializers'; /** * returns the serializer matching the submitted @param contentType or undefined. * * Note that it will try to match a base type (text, image, audio, video...) if it * could not find a serializer with the full contentType (text/html). * @param contentType the contentType handled by the serializer * @param serializers the map of existing serializers */ export declare function findSerializer(contentType: string, serializers: ISerializers): ISerializer | undefined;