UNPKG

@theguild/components

Version:
21 lines (18 loc) 595 B
import { NextConfig } from 'next'; import { NextraConfig } from 'nextra'; import { Plugin } from 'unified'; declare const defaultNextraOptions: { defaultShowCopyCode: true; whiteListTagsStyling: string[]; search: { codeblocks: false; }; mdxOptions: { rehypePlugins: Plugin<[], any>[]; }; }; interface WithGuildDocsOptions extends NextConfig { nextraConfig?: NextraConfig; } declare function withGuildDocs({ nextraConfig, ...nextConfig }?: WithGuildDocsOptions): NextConfig; export { type WithGuildDocsOptions, defaultNextraOptions, withGuildDocs };