import type { CodeSamplesConfig } from '../code-samples/index.js'; import type { HooksConfig, Unstable_ExternalCodeSample } from '../types.js'; import type { Events } from '../../events/index.js'; import type { LayoutVariant } from '@redocly/config'; import type { DownloadUrlsConfig } from '../../components/Download/types.js'; import type { MarkdocOptions } from '../../components/Markdown/types.js'; export interface Options { scrollYOffset: () => number; hideLoading: boolean; markdocOptions?: MarkdocOptions; hideSidebar: boolean; feedback: Record; unstable_hooks: HooksConfig; hideReplay: boolean; oAuth2RedirectURI?: string; corsProxyUrl?: string; sortRequiredPropsFirst: boolean; sanitize: boolean; hideDownloadButtons: boolean | null; downloadUrls?: DownloadUrlsConfig; onlyRequiredInSamples: boolean; generatedSamplesMaxDepth: number; showExtensions: string[] | boolean; hideSchemaTitles: boolean; jsonSamplesExpandLevel: number; schemasExpansionLevel: number | undefined; mockServer?: { url: string; position: 'first' | 'last' | 'replace' | 'off'; description: string; }; maxDisplayedEnumValues: number; ignoreNamedSchemas: Set; unstable_externalCodeSamples: Unstable_ExternalCodeSample[]; unstable_skipSamples?: boolean; schemaDefinitionsTagName?: string; layout: LayoutVariant; hideInfoMetadata: boolean; events: Events; onDeepLinkClick: ((link: string) => void) | undefined | null; skipBundle: boolean; routingBasePath: string; codeSamples: CodeSamplesConfig; hidePropertiesPrefix: boolean; }