import type { Config } from '@redocly/openapi-core';
import type { BuildDocsOptions } from './types';
export declare function getObjectOrJSON(openapiOptions: string | Record<string, unknown>, config: Config): JSON | Record<string, unknown> | Config;
export declare function getPageHTML(api: any, pathToApi: string, { title, disableGoogleFont, templateFileName, templateOptions, redocOptions, redocCurrentVersion, }: BuildDocsOptions, configPath?: string): Promise<string>;
export declare function sanitizeJSONString(str: string): string;
export declare function escapeClosingScriptTag(str: string): string;
export declare function escapeUnicode(str: string): string;
