/** * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * * @format */ import { LoadContext, PluginOptions, Plugin } from '@docusaurus/types'; export type { PresetOptions } from './docusaurus-preset'; type Options = PluginOptions & { docs: { path?: string; editUrl?: string; }; enableEditor?: boolean | 'top' | 'bottom'; maxCodeBlockHeight?: number; }; export type GlobalDataOptions = { opts: Options; docsDir: string; repoRootToWebsiteRoot: string; }; export default function plugin(context: LoadContext, opts: Options): Plugin;