import { NextConfig } from 'next'; export { $NextraMetadata, DynamicFolder, DynamicMeta, DynamicMetaItem, EvaluateResult, Folder, FrontMatter, Heading, Import, LoaderOptions, MDXWrapper, MathJaxOptions, MdxFile, MenuItem, Meta, MetaJsonFile, MetaRecord, NextraMetadata, Page, PageMapItem, PagefindSearchOptions, ReadingTime, SeparatorItem, TItem } from '../types.js'; import { NextraConfig } from '../types.generated.js'; import 'mdast'; import 'react'; import 'zod'; import './schemas.js'; import './lib/index.js'; import 'rehype-katex/lib/index.js'; import 'better-react-mathjax'; import 'rehype-pretty-code'; import '@mdx-js/mdx'; import 'rehype-katex'; /** * Nextra is a Next.js plugin that allows you to create Markdown-based content with ease. * * @example * ```js filename="next.config.mjs" * import nextra from 'nextra' * * // Set up Nextra with its configuration * const withNextra = nextra({ * // ... Add Nextra-specific options here * }) * * // Export the final Next.js config with Nextra included * export default withNextra({ * // ... Add regular Next.js options here * }) * ``` * @see * - [`NextraConfig` options](https://nextra.site/api/nextra) * - [Nextra documentation](https://nextra.site) * - [`NextConfig` options](https://nextjs.org/docs/pages/api-reference/config/next-config-js) */ declare const nextra: (nextraConfig: NextraConfig) => (nextConfig?: NextConfig) => NextConfig; export { NextraConfig, nextra as default };