import type { OpenAPIEncoding, OpenAPIMediaType, OpenAPIParameterStyle, OpenAPIRequestBody, OpenAPIResponse, OpenAPISchema, OpenAPIServer, Referenced, OpenAPIParameter } from '../types/index.js';
import type { ExtendedOpenAPIOperation, OpenAPIParser } from '../services/index.js';
import type { FieldModel, GroupModel } from '../models/index.js';
export declare function isStatusCode(statusCode: string): boolean;
export declare function getStatusCodeType(statusCode: string | number, defaultAsError?: boolean): string;
export declare function isOperationName(key: string): boolean;
export declare function getOperationName(operation: ExtendedOpenAPIOperation): string;
export declare function getOperationId(operation: ExtendedOpenAPIOperation, parent?: GroupModel): string;
export declare function detectType(schema: OpenAPISchema): string;
export declare function isPrimitiveType(schema: OpenAPISchema, type?: string | string[] | undefined): boolean;
export declare function isJsonLike(contentType: string): boolean;
export declare function isXmlLike(contentType: string): boolean;
export declare function isFormUrlEncoded(contentType: string): boolean;
export declare function isMultipartFormData(contentType: string): boolean;
export declare function isSequentialMediaType(contentType: string): boolean;
export declare function urlFormEncodePayload(payload: GenericObject, encoding?: {
    [field: string]: OpenAPIEncoding;
}): string;
export declare function serializeQueryParameter(name: string, style: OpenAPIParameterStyle | undefined, explode: boolean, value: unknown): string;
export declare function serializeParameterValueWithMime(value: unknown, mime: string): string;
export declare function serializeQueryStringParameterValueWithMime(value: unknown, mime: string, name: string): string;
export declare function serializeParameterValue(parameter: FieldModel, value: unknown): string;
export declare function langFromMime(contentType: string): string;
export declare function isNamedDefinition(pointer?: string): boolean;
export declare function getDefinitionName(pointer?: string): string | undefined;
export declare function humanizeNumberRange(schema: OpenAPISchema): string | undefined;
export declare function humanizeConstraints(schema: OpenAPISchema): string[];
export declare function sortByRequired(fields: FieldModel[], order?: string[]): Array<FieldModel>;
export declare function sortByDeprecated(fields: FieldModel[]): Array<FieldModel>;
export declare function mergeParams(parser: OpenAPIParser, pathParams: Array<Referenced<OpenAPIParameter>> | undefined, operationParams: Array<Referenced<OpenAPIParameter>> | undefined, { pathPointer, operationPointer }: {
    pathPointer: any;
    operationPointer: any;
}): Array<{
    paramOrRef: Referenced<OpenAPIParameter>;
    pointer: string;
}>;
export declare function normalizeServers(specUrl: string | undefined, servers: OpenAPIServer[]): OpenAPIServer[];
export declare const shortenHTTPVerb: (verb: string) => string;
export declare function isRedocExtension(key: string): boolean;
export declare function extractExtensions(obj: GenericObject, showExtensions: string[] | true): GenericObject;
export declare function pluralizeType(displayType: string): string;
export declare function getContent(parser: OpenAPIParser, info: OpenAPIRequestBody | OpenAPIResponse): {
    [mime: string]: OpenAPIMediaType;
} | undefined;
export declare function getContentWithLegacyExamples(info: OpenAPIRequestBody | OpenAPIResponse): {
    [mime: string]: OpenAPIMediaType;
} | undefined;
