import type { RequestAuth } from '../../types'; import type { ExampleModel, FieldModel, OpenAPIServer, OperationModel, Server, ServerVariables } from '../../redoc-lib'; import type { RedocProNormalizedOptions } from '../../services'; import type { RequestBodyProps } from './RequestBody'; export declare function normalizeUrlProtocol(url: string): string; export declare function updateStorage(state: GenericObject): void; export declare const getParameters: (parameters: FieldModel[], type: string) => GenericObject; export declare function getServerWithVariables(operationServers: OpenAPIServer[], activeIndex?: number): Server; export declare function getInitialServerWithVariables(operationServers: OpenAPIServer[]): Server; export declare function expandVariables(url: string, variables?: GenericObject): string; export declare function expandDefaultServerVariables(url: string, variables?: GenericObject): string; export declare function getDefaultOrStoredVariables(server?: OpenAPIServer): ServerVariables; export declare function updateVariablesStorage(name: string, value: string): void; export declare function unescapeQueryParams(params: GenericObject): GenericObject; export declare function getFileNameFromHeaders(headers: Record): string; export declare const makeRequestInterceptor: ({ requestInterceptor, sendXUserAgentInTryIt, disableTryItRequestUrlEncoding, }: Pick, operation: OperationModel, auth?: RequestAuth | undefined, values?: GenericObject | undefined) => (req: Request) => void | Request; export declare const validateTokenEndpointMethod: (token: string[] | string | undefined) => boolean; export declare const getOAuth2TokenEndpointAuthHeader: ({ authMethod, clientId, clientSecret, }: { authMethod?: string | string[] | undefined; clientId: string; clientSecret: string; }) => Record<'Authorization', string> | GenericObject; export declare function encodeSample(sample: ExampleModel, properties: RequestBodyProps['properties']): string; export declare const getStorageExampleKey: (operationId: string, activeMimeType: string, activeExample?: string | false | undefined, examples?: { [name: string]: ExampleModel; } | undefined) => string; export declare const decodeKeysDeep: (obj: Record) => Record;