import * as react from 'react'; import { ReactElement, ReactNode } from 'react'; import { PluggableList } from './lib/index.js'; import * as rehype_katex_lib_index_js from 'rehype-katex/lib/index.js'; import { MathJax3Config } from 'better-react-mathjax'; import { Options } from 'rehype-pretty-code'; import { z } from 'zod'; declare const MathJaxOptionsSchema: z.ZodObject<{ src: z.ZodOptional; config: z.ZodOptional>; }, z.core.$strict>; declare const NextraConfigSchema: z.ZodObject<{ defaultShowCopyCode: z.ZodOptional; search: z.ZodDefault]>>; staticImage: z.ZodDefault; readingTime: z.ZodOptional; latex: z.ZodOptional; options: z.ZodOptional; config: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ renderer: z.ZodLiteral<"katex">; options: z.ZodCustom; }, z.core.$strict>]>>; codeHighlight: z.ZodDefault; mdxOptions: z.ZodDefault>; remarkPlugins: z.ZodOptional>; recmaPlugins: z.ZodOptional>; format: z.ZodDefault>; rehypePrettyCodeOptions: z.ZodDefault>; }, z.core.$strict>>; whiteListTagsStyling: z.ZodOptional>; contentDirBasePath: z.ZodDefault; unstable_shouldAddLocaleToLinks: z.ZodDefault; }, z.core.$strict>; declare const element: z.ZodCustom>, ReactElement>>; /** * https://react.dev/reference/react/isValidElement#react-elements-vs-react-nodes */ declare const reactNode: z.ZodCustom; declare const pageThemeSchema: z.ZodObject<{ breadcrumb: z.ZodOptional; collapsed: z.ZodOptional; copyPage: z.ZodOptional; footer: z.ZodOptional; layout: z.ZodOptional>; navbar: z.ZodOptional; pagination: z.ZodOptional; sidebar: z.ZodOptional; timestamp: z.ZodOptional; toc: z.ZodOptional; typesetting: z.ZodOptional>; }, z.core.$strict>; declare const separatorItemSchema: z.ZodObject<{ type: z.ZodLiteral<"separator">; title: z.ZodOptional>, ReactElement>>]>>; }, z.core.$strict>; declare const menuSchema: z.ZodObject<{ type: z.ZodLiteral<"menu">; title: z.ZodOptional>, ReactElement>>]>>; items: z.ZodPipe>, ReactElement>>]>, z.ZodObject<{ title: z.ZodOptional>, ReactElement>>]>>; href: z.ZodString; }, z.core.$strict>, z.ZodObject<{ title: z.ZodUnion>, ReactElement>>]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"separator">; title: z.ZodOptional>, ReactElement>>]>>; }, z.core.$strict>]>, z.ZodTransform> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; } | { title: ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & string) | ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & ReactElement>); }, string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }>>>, z.ZodTransform> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; } | { title: ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & string) | ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & ReactElement>); }>, Record> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; } | { title: ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & string) | ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & ReactElement>); }>>>; display: z.ZodOptional>; }, z.core.$strict>; declare const itemSchema: z.ZodObject<{ type: z.ZodOptional>; title: z.ZodOptional>, ReactElement>>]>>; /** * An option to control how an item should be displayed in the sidebar: * - `normal`: the default behavior, item will be displayed * - `hidden`: the item will not be displayed in the sidebar entirely * - `children`: if the item is a folder, itself will be hidden but all its children will still be processed */ display: z.ZodOptional>; theme: z.ZodOptional; collapsed: z.ZodOptional; copyPage: z.ZodOptional; footer: z.ZodOptional; layout: z.ZodOptional>; navbar: z.ZodOptional; pagination: z.ZodOptional; sidebar: z.ZodOptional; timestamp: z.ZodOptional; toc: z.ZodOptional; typesetting: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; declare const metaSchema: z.ZodUnion>, ReactElement>>]>, z.ZodTransform> | { title: string | ReactElement> | (ReactElement> & string) | (string & ReactElement>); }, string | ReactElement>>>, z.ZodObject<{ type: z.ZodOptional>; title: z.ZodOptional>, ReactElement>>]>>; /** * An option to control how an item should be displayed in the sidebar: * - `normal`: the default behavior, item will be displayed * - `hidden`: the item will not be displayed in the sidebar entirely * - `children`: if the item is a folder, itself will be hidden but all its children will still be processed */ display: z.ZodOptional>; theme: z.ZodOptional; collapsed: z.ZodOptional; copyPage: z.ZodOptional; footer: z.ZodOptional; layout: z.ZodOptional>; navbar: z.ZodOptional; pagination: z.ZodOptional; sidebar: z.ZodOptional; timestamp: z.ZodOptional; toc: z.ZodOptional; typesetting: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ title: z.ZodOptional>, ReactElement>>]>>; href: z.ZodString; type: z.ZodOptional>; display: z.ZodOptional>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"separator">; title: z.ZodOptional>, ReactElement>>]>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"menu">; title: z.ZodOptional>, ReactElement>>]>>; items: z.ZodPipe>, ReactElement>>]>, z.ZodObject<{ title: z.ZodOptional>, ReactElement>>]>>; href: z.ZodString; }, z.core.$strict>, z.ZodObject<{ title: z.ZodUnion>, ReactElement>>]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"separator">; title: z.ZodOptional>, ReactElement>>]>>; }, z.core.$strict>]>, z.ZodTransform> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; } | { title: ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & string) | ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & ReactElement>); }, string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }>>>, z.ZodTransform> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; } | { title: ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & string) | ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & ReactElement>); }>, Record> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; } | { title: ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & string) | ((string | ReactElement> | { href: string; title?: string | ReactElement> | undefined; } | { type: "separator"; title?: string | ReactElement> | undefined; } | { title: string | ReactElement>; }) & ReactElement>); }>>>; display: z.ZodOptional>; }, z.core.$strict>]>; export { MathJaxOptionsSchema, NextraConfigSchema, element, itemSchema, menuSchema, metaSchema, pageThemeSchema, reactNode, separatorItemSchema };