UNPKG

@chargeover/redocusaurus

Version:
36 lines 1.31 kB
import type { LoadContext } from '@docusaurus/types'; import type { PluginOptions } from '@chargeover/docusaurus-plugin-redoc'; import type { ThemeOptions } from '@chargeover/docusaurus-theme-redoc'; export interface PresetOptions { id?: string; debug?: boolean; specs: PluginOptions[]; theme?: ThemeOptions; } export declare type PresetEntry = ['redocusaurus', PresetOptions]; export default function preset(context: LoadContext, opts?: PresetOptions): { themes: any[][]; plugins: (string | { themeId: string; id: string; debug: boolean; spec: string; url?: string | undefined; route?: string | undefined; layout?: { title?: string | undefined; noFooter?: boolean | undefined; description?: string | undefined; image?: string | undefined; keywords?: string[] | undefined; permalink?: string | undefined; wrapperClassName?: string | undefined; searchMetadatas?: { version?: string | undefined; tag?: string | undefined; } | undefined; } | undefined; config?: string | import("@redocly/openapi-core").RawConfig | undefined; })[][]; }; //# sourceMappingURL=index.d.ts.map