import { IPrismDiagnostic } from '@stoplight/prism-core'; import { Dictionary, IHttpEncoding, IMediaTypeContent } from '@stoplight/types'; import * as E from 'fp-ts/Either'; import * as O from 'fp-ts/Option'; import * as NEA from 'fp-ts/NonEmptyArray'; import { JSONSchema } from '../../types'; import { validateFn } from './types'; export declare function deserializeFormBody(schema: JSONSchema, encodings: IHttpEncoding[], decodedUriParams: Dictionary): E.Left> | E.Right>; export declare function splitUriParams(target: string): E.Either>; export declare function parseMultipartFormDataParams(target: string, multipartBoundary?: string): E.Either, Dictionary>; export declare function decodeUriEntities(target: Dictionary, mediaType: string): {}; export declare function findContentByMediaTypeOrFirst(specs: IMediaTypeContent[], mediaType: string): O.Option<{ mediaType: string; content: IMediaTypeContent; }>; export declare const validate: validateFn;