import { Heading, FrontMatter, PageOpts } from 'nextra/types'; import { NextSeoProps } from 'next-seo'; import { Item } from 'nextra/normalize-pages'; import { Ref, ReactNode, FC } from 'react'; import { DefaultToastOptions } from 'react-hot-toast'; import { z, ZodType } from 'zod'; import { A as ActiveType, a as NavBarProperties } from './types.d-JvOeMJRs.js'; interface TOCProperties$1 { headings: Heading[]; wrapperRef: Ref; } interface TOCProperties { filePath: string; headings: Heading[]; isOnScreen?: boolean; locale: string; route: string; } declare const themeSchema: z.ZodObject<{ backToTop: z.ZodObject<{ active: z.ZodBoolean; content: z.ZodUnion<[ZodType, z.ZodTypeDef, ReactNode | FC<{ locale: string; }>>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; }, "strict", z.ZodTypeAny, { active: boolean; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }, { active: boolean; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }>; banner: z.ZodObject<{ content: z.ZodOptional>; dismissible: z.ZodBoolean; key: z.ZodString; }, "strict", z.ZodTypeAny, { dismissible: boolean; key: string; content?: ReactNode | FC; }, { dismissible: boolean; key: string; content?: ReactNode | FC; }>; chat: z.ZodOptional; link: z.ZodOptional; }, "strip", z.ZodTypeAny, { icon?: ReactNode | FC; link?: string | undefined; }, { icon?: ReactNode | FC; link?: string | undefined; }>>; comments: z.ZodOptional>; components: z.ZodOptional>; content: z.ZodObject<{ permalink: z.ZodObject<{ label: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; }, "strict", z.ZodTypeAny, { label: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }, { label: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }>; showDescription: z.ZodOptional; showTitle: z.ZodOptional; }, "strict", z.ZodTypeAny, { permalink: { label: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; showDescription?: boolean | undefined; showTitle?: boolean | undefined; }, { permalink: { label: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; showDescription?: boolean | undefined; showTitle?: boolean | undefined; }>; darkMode: z.ZodBoolean; direction: z.ZodEnum<["ltr", "rtl"]>; docsRepositoryBase: z.ZodString; editLink: z.ZodObject<{ component: z.ZodOptional, z.ZodTypeDef, FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }>>>; content: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodFunction], z.ZodUnknown>, z.ZodString>, ZodType, z.ZodTypeDef, ReactNode | FC<{ locale: string; }>>]>]>; }, "strict", z.ZodTypeAny, { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; }, { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; }>; faviconGlyph: z.ZodOptional; feedback: z.ZodObject<{ content: z.ZodOptional>; labels: z.ZodString; link: z.ZodOptional], z.ZodUnknown>, z.ZodString>>; }, "strict", z.ZodTypeAny, { labels: string; content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; }, { labels: string; content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; }>; footer: z.ZodObject<{ className: z.ZodOptional; component: ZodType, z.ZodTypeDef, ReactNode | FC<{ menu: boolean; }>>; copyright: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ activeType: ActiveType; }>>>; }, "strict", z.ZodTypeAny, { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; }, { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; }>; gitTimestamp: ZodType, z.ZodTypeDef, ReactNode | FC<{ locale: string; timestamp: Date; }>>; head: ZodType; hero: z.ZodOptional; height: z.ZodUnion<[z.ZodString, z.ZodNumber]>; }, "strip", z.ZodTypeAny, { height: string | number; component?: ReactNode | FC; }, { height: string | number; component?: ReactNode | FC; }>>; i18n: z.ZodDefault>; locale: z.ZodString; name: z.ZodString; }, "strict", z.ZodTypeAny, { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }, { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }>, "many">>; localSwitch: z.ZodObject<{ title: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; }, "strict", z.ZodTypeAny, { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }, { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }>; logo: ZodType; logoLink: z.ZodUnion<[z.ZodBoolean, z.ZodString]>; main: z.ZodOptional, z.ZodTypeDef, FC<{ children: ReactNode; }>>>; navbar: z.ZodObject<{ component: ZodType, z.ZodTypeDef, ReactNode | FC>; extraContent: z.ZodOptional>; linkBack: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ locale: string; }>>>; }, "strict", z.ZodTypeAny, { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; }, { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; }>; navigation: z.ZodUnion<[z.ZodBoolean, z.ZodObject<{ next: z.ZodBoolean; prev: z.ZodBoolean; }, "strict", z.ZodTypeAny, { next: boolean; prev: boolean; }, { next: boolean; prev: boolean; }>]>; nextThemes: z.ZodObject<{ attribute: z.ZodOptional; defaultTheme: z.ZodString; forcedTheme: z.ZodOptional; storageKey: z.ZodString; }, "strict", z.ZodTypeAny, { defaultTheme: string; storageKey: string; attribute?: string | undefined; forcedTheme?: string | undefined; }, { defaultTheme: string; storageKey: string; attribute?: string | undefined; forcedTheme?: string | undefined; }>; notFound: z.ZodObject<{ content: ZodType; labels: z.ZodString; pages: z.ZodOptional], z.ZodUnknown>, z.ZodArray, z.ZodUndefined]>; subtitle: z.ZodUnion<[z.ZodString, z.ZodUndefined]>; title: z.ZodString; url: z.ZodString; }, "strict", z.ZodTypeAny, { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }, { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }>, "many">>>; }, "strict", z.ZodTypeAny, { labels: string; content?: ReactNode | FC; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; }, { labels: string; content?: ReactNode | FC; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; }>; primaryHue: z.ZodUnion<[z.ZodNumber, z.ZodObject<{ dark: z.ZodNumber; light: z.ZodNumber; }, "strict", z.ZodTypeAny, { dark: number; light: number; }, { dark: number; light: number; }>]>; project: z.ZodObject<{ icon: ZodType; link: z.ZodOptional; }, "strict", z.ZodTypeAny, { icon?: ReactNode | FC; link?: string | undefined; }, { icon?: ReactNode | FC; link?: string | undefined; }>; sandbox: z.ZodOptional, z.objectInputType<{}, z.ZodString, "strict">>; }, "strip", z.ZodTypeAny, { providers: {} & { [k: string]: string; }; }, { providers: {} & { [k: string]: string; }; }>>; search: z.ZodObject<{ codeblocks: z.ZodBoolean; component: ZodType, z.ZodTypeDef, ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>>; emptyResult: ZodType; error: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; loading: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; placeholder: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; position: z.ZodEnum<["sidebar", "navbar"]>; }, "strict", z.ZodTypeAny, { codeblocks: boolean; error: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); loading: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); placeholder: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); position: "navbar" | "sidebar"; component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; emptyResult?: ReactNode | FC; }, { codeblocks: boolean; error: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); loading: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); placeholder: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); position: "navbar" | "sidebar"; component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; emptyResult?: ReactNode | FC; }>; serverSideError: z.ZodObject<{ content: ZodType; labels: z.ZodString; }, "strict", z.ZodTypeAny, { labels: string; content?: ReactNode | FC; }, { labels: string; content?: ReactNode | FC; }>; sidebar: z.ZodObject<{ autoCollapse: z.ZodOptional; defaultMenuCollapseLevel: z.ZodNumber; icon: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ className: string; route: string; title: string; type: string; }>>>; mobileBreakpoint: z.ZodNumber; titleComponent: ZodType, z.ZodTypeDef, ReactNode | FC<{ route: string; title: string; type: string; }>>; }, "strict", z.ZodTypeAny, { defaultMenuCollapseLevel: number; mobileBreakpoint: number; icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; }, { defaultMenuCollapseLevel: number; mobileBreakpoint: number; icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; }>; themeSwitch: z.ZodObject<{ dark: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; light: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; system: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; title: z.ZodUnion<[z.ZodString, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>; }, "strict", z.ZodTypeAny, { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); dark: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); light: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); system: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }, { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); dark: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); light: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); system: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }>; toaster: z.ZodOptional; position: z.ZodOptional>; reverseOrder: z.ZodOptional; toastOptions: z.ZodOptional, {}, {}>>; }, "strip", z.ZodTypeAny, { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; }, { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; }>>; tocContent: z.ZodObject<{ component: ZodType, z.ZodTypeDef, FC>; float: z.ZodBoolean; headingComponent: z.ZodOptional, z.ZodTypeDef, FC<{ children: string; id: string; }>>>; title: ZodType; }, "strict", z.ZodTypeAny, { float: boolean; component: FC; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }, { float: boolean; component: FC; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }>; tocSidebar: z.ZodObject<{ component: ZodType, z.ZodTypeDef, FC>; extraContent: z.ZodOptional>; float: z.ZodBoolean; headingComponent: z.ZodOptional, z.ZodTypeDef, FC<{ children: string; id: string; }>>>; title: z.ZodString; }, "strict", z.ZodTypeAny, { float: boolean; component: FC; title: string; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }, { float: boolean; component: FC; title: string; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }>; useNextSeoProps: ZodType<() => NextSeoProps | void, z.ZodTypeDef, () => NextSeoProps | void>; }, "strict", z.ZodTypeAny, { navigation: boolean | { next: boolean; prev: boolean; }; content: { permalink: { label: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; showDescription?: boolean | undefined; showTitle?: boolean | undefined; }; backToTop: { active: boolean; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; banner: { dismissible: boolean; key: string; content?: ReactNode | FC; }; darkMode: boolean; direction: "ltr" | "rtl"; docsRepositoryBase: string; editLink: { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; }; feedback: { labels: string; content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; }; footer: { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; }; i18n: { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }[]; localSwitch: { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; logoLink: string | boolean; navbar: { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; }; nextThemes: { defaultTheme: string; storageKey: string; attribute?: string | undefined; forcedTheme?: string | undefined; }; notFound: { labels: string; content?: ReactNode | FC; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; }; primaryHue: number | { dark: number; light: number; }; project: { icon?: ReactNode | FC; link?: string | undefined; }; sidebar: { defaultMenuCollapseLevel: number; mobileBreakpoint: number; icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; }; search: { codeblocks: boolean; error: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); loading: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); placeholder: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); position: "navbar" | "sidebar"; component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; emptyResult?: ReactNode | FC; }; serverSideError: { labels: string; content?: ReactNode | FC; }; themeSwitch: { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); dark: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); light: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); system: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; tocContent: { float: boolean; component: FC; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }; tocSidebar: { float: boolean; component: FC; title: string; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }; useNextSeoProps: () => NextSeoProps | void; chat?: { icon?: ReactNode | FC; link?: string | undefined; } | undefined; comments?: { categoryId: string; repository: string; repositoryId: string; } | undefined; components?: any; faviconGlyph?: string | undefined; gitTimestamp?: ReactNode | FC<{ locale: string; timestamp: Date; }>; head?: ReactNode | FC; hero?: { height: string | number; component?: ReactNode | FC; } | undefined; logo?: ReactNode | FC; main?: FC<{ children: ReactNode; }> | undefined; sandbox?: { providers: {} & { [k: string]: string; }; } | undefined; toaster?: { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; } | undefined; }, { navigation: boolean | { next: boolean; prev: boolean; }; content: { permalink: { label: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; showDescription?: boolean | undefined; showTitle?: boolean | undefined; }; backToTop: { active: boolean; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; banner: { dismissible: boolean; key: string; content?: ReactNode | FC; }; darkMode: boolean; direction: "ltr" | "rtl"; docsRepositoryBase: string; editLink: { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; }; feedback: { labels: string; content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; }; footer: { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; }; localSwitch: { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; logoLink: string | boolean; navbar: { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; }; nextThemes: { defaultTheme: string; storageKey: string; attribute?: string | undefined; forcedTheme?: string | undefined; }; notFound: { labels: string; content?: ReactNode | FC; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; }; primaryHue: number | { dark: number; light: number; }; project: { icon?: ReactNode | FC; link?: string | undefined; }; sidebar: { defaultMenuCollapseLevel: number; mobileBreakpoint: number; icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; }; search: { codeblocks: boolean; error: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); loading: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); placeholder: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); position: "navbar" | "sidebar"; component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; emptyResult?: ReactNode | FC; }; serverSideError: { labels: string; content?: ReactNode | FC; }; themeSwitch: { title: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); dark: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); light: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); system: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }; tocContent: { float: boolean; component: FC; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }; tocSidebar: { float: boolean; component: FC; title: string; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }; useNextSeoProps: () => NextSeoProps | void; chat?: { icon?: ReactNode | FC; link?: string | undefined; } | undefined; comments?: { categoryId: string; repository: string; repositoryId: string; } | undefined; components?: any; faviconGlyph?: string | undefined; gitTimestamp?: ReactNode | FC<{ locale: string; timestamp: Date; }>; head?: ReactNode | FC; hero?: { height: string | number; component?: ReactNode | FC; } | undefined; i18n?: { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }[] | undefined; logo?: ReactNode | FC; main?: FC<{ children: ReactNode; }> | undefined; sandbox?: { providers: {} & { [k: string]: string; }; } | undefined; toaster?: { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; } | undefined; }>; declare const publicThemeSchema: z.ZodObject; content: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ locale: string; }>>, z.ZodFunction], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { active?: boolean | undefined; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }, { active?: boolean | undefined; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); }>>; banner: z.ZodOptional>>; dismissible: z.ZodOptional; key: z.ZodOptional; }, "strict", z.ZodTypeAny, { content?: ReactNode | FC; dismissible?: boolean | undefined; key?: string | undefined; }, { content?: ReactNode | FC; dismissible?: boolean | undefined; key?: string | undefined; }>>; chat: z.ZodOptional>; link: z.ZodOptional>; }, "strip", z.ZodTypeAny, { icon?: ReactNode | FC; link?: string | undefined; }, { icon?: ReactNode | FC; link?: string | undefined; }>>>; comments: z.ZodOptional; repository: z.ZodOptional; repositoryId: z.ZodOptional; }, "strip", z.ZodTypeAny, { categoryId?: string | undefined; repository?: string | undefined; repositoryId?: string | undefined; }, { categoryId?: string | undefined; repository?: string | undefined; repositoryId?: string | undefined; }>>>; components: z.ZodOptional>>; content: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { label?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; }, { label?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; }>>; showDescription: z.ZodOptional>; showTitle: z.ZodOptional>; }, "strict", z.ZodTypeAny, { permalink?: { label?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; showDescription?: boolean | undefined; showTitle?: boolean | undefined; }, { permalink?: { label?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; showDescription?: boolean | undefined; showTitle?: boolean | undefined; }>>; darkMode: z.ZodOptional; direction: z.ZodOptional>; docsRepositoryBase: z.ZodOptional; editLink: z.ZodOptional, z.ZodTypeDef, FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }>>>>; content: z.ZodOptional], z.ZodUnknown>, z.ZodString>, ZodType, z.ZodTypeDef, ReactNode | FC<{ locale: string; }>>]>]>>; }, "strict", z.ZodTypeAny, { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; }, { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; }>>; faviconGlyph: z.ZodOptional>; feedback: z.ZodOptional>>; labels: z.ZodOptional; link: z.ZodOptional], z.ZodUnknown>, z.ZodString>>>; }, "strict", z.ZodTypeAny, { content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; labels?: string | undefined; }, { content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; labels?: string | undefined; }>>; footer: z.ZodOptional>; component: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ menu: boolean; }>>>; copyright: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ activeType: ActiveType; }>>>>; }, "strict", z.ZodTypeAny, { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; }, { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; }>>; gitTimestamp: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ locale: string; timestamp: Date; }>>>; head: z.ZodOptional>; hero: z.ZodOptional>; height: z.ZodOptional>; }, "strip", z.ZodTypeAny, { component?: ReactNode | FC; height?: string | number | undefined; }, { component?: ReactNode | FC; height?: string | number | undefined; }>>>; i18n: z.ZodOptional>; locale: z.ZodString; name: z.ZodString; }, "strict", z.ZodTypeAny, { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }, { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }>, "many">>>; localSwitch: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; }, { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; }>>; logo: z.ZodOptional>; logoLink: z.ZodOptional>; main: z.ZodOptional, z.ZodTypeDef, FC<{ children: ReactNode; }>>>>; navbar: z.ZodOptional, z.ZodTypeDef, ReactNode | FC>>; extraContent: z.ZodOptional>>; linkBack: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ locale: string; }>>>>; }, "strict", z.ZodTypeAny, { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; }, { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; }>>; navigation: z.ZodOptional]>>; nextThemes: z.ZodOptional>; defaultTheme: z.ZodOptional; forcedTheme: z.ZodOptional>; storageKey: z.ZodOptional; }, "strict", z.ZodTypeAny, { attribute?: string | undefined; defaultTheme?: string | undefined; forcedTheme?: string | undefined; storageKey?: string | undefined; }, { attribute?: string | undefined; defaultTheme?: string | undefined; forcedTheme?: string | undefined; storageKey?: string | undefined; }>>; notFound: z.ZodOptional>; labels: z.ZodOptional; pages: z.ZodOptional], z.ZodUnknown>, z.ZodArray, z.ZodUndefined]>; subtitle: z.ZodUnion<[z.ZodString, z.ZodUndefined]>; title: z.ZodString; url: z.ZodString; }, "strict", z.ZodTypeAny, { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }, { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }>, "many">>>>; }, "strict", z.ZodTypeAny, { content?: ReactNode | FC; labels?: string | undefined; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; }, { content?: ReactNode | FC; labels?: string | undefined; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; }>>; primaryHue: z.ZodOptional]>>; project: z.ZodOptional>; link: z.ZodOptional>; }, "strict", z.ZodTypeAny, { icon?: ReactNode | FC; link?: string | undefined; }, { icon?: ReactNode | FC; link?: string | undefined; }>>; sandbox: z.ZodOptional, z.objectInputType<{}, z.ZodString, "strict">>>; }, "strip", z.ZodTypeAny, { providers?: z.objectOutputType<{}, z.ZodString, "strict"> | undefined; }, { providers?: z.objectInputType<{}, z.ZodString, "strict"> | undefined; }>>>; search: z.ZodOptional; component: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>>>; emptyResult: z.ZodOptional>; error: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; loading: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; placeholder: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; position: z.ZodOptional>; }, "strict", z.ZodTypeAny, { component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; codeblocks?: boolean | undefined; emptyResult?: ReactNode | FC; error?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; loading?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; placeholder?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; position?: "navbar" | "sidebar" | undefined; }, { component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; codeblocks?: boolean | undefined; emptyResult?: ReactNode | FC; error?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; loading?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; placeholder?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; position?: "navbar" | "sidebar" | undefined; }>>; serverSideError: z.ZodOptional>; labels: z.ZodOptional; }, "strict", z.ZodTypeAny, { content?: ReactNode | FC; labels?: string | undefined; }, { content?: ReactNode | FC; labels?: string | undefined; }>>; sidebar: z.ZodOptional>; defaultMenuCollapseLevel: z.ZodOptional; icon: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ className: string; route: string; title: string; type: string; }>>>>; mobileBreakpoint: z.ZodOptional; titleComponent: z.ZodOptional, z.ZodTypeDef, ReactNode | FC<{ route: string; title: string; type: string; }>>>; }, "strict", z.ZodTypeAny, { icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; defaultMenuCollapseLevel?: number | undefined; mobileBreakpoint?: number | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; }, { icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; defaultMenuCollapseLevel?: number | undefined; mobileBreakpoint?: number | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; }>>; themeSwitch: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; light: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; system: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; title: z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; dark?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; light?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; system?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; }, { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; dark?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; light?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; system?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; }>>; toaster: z.ZodOptional>; position: z.ZodOptional>>; reverseOrder: z.ZodOptional>; toastOptions: z.ZodOptional, {}, {}>>>; }, "strip", z.ZodTypeAny, { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; }, { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; }>>>; tocContent: z.ZodOptional, z.ZodTypeDef, FC>>; float: z.ZodOptional; headingComponent: z.ZodOptional, z.ZodTypeDef, FC<{ children: string; id: string; }>>>>; title: z.ZodOptional>; }, "strict", z.ZodTypeAny, { float?: boolean | undefined; component?: FC | undefined; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }, { float?: boolean | undefined; component?: FC | undefined; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }>>; tocSidebar: z.ZodOptional, z.ZodTypeDef, FC>>; extraContent: z.ZodOptional>>; float: z.ZodOptional; headingComponent: z.ZodOptional, z.ZodTypeDef, FC<{ children: string; id: string; }>>>>; title: z.ZodOptional; }, "strict", z.ZodTypeAny, { float?: boolean | undefined; component?: FC | undefined; title?: string | undefined; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }, { float?: boolean | undefined; component?: FC | undefined; title?: string | undefined; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; }>>; useNextSeoProps: z.ZodOptional NextSeoProps | void, z.ZodTypeDef, () => NextSeoProps | void>>; }, { i18n: z.ZodOptional>; locale: z.ZodString; name: z.ZodString; }, "strict", z.ZodTypeAny, { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }, { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }>, "many">>; }>, "strict", z.ZodTypeAny, { navigation?: boolean | { next: boolean; prev: boolean; } | undefined; content?: { permalink?: { label?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; showDescription?: boolean | undefined; showTitle?: boolean | undefined; } | undefined; backToTop?: { active?: boolean | undefined; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); } | undefined; banner?: { content?: ReactNode | FC; dismissible?: boolean | undefined; key?: string | undefined; } | undefined; chat?: { icon?: ReactNode | FC; link?: string | undefined; } | undefined; comments?: { categoryId?: string | undefined; repository?: string | undefined; repositoryId?: string | undefined; } | undefined; components?: any; darkMode?: boolean | undefined; direction?: "ltr" | "rtl" | undefined; docsRepositoryBase?: string | undefined; editLink?: { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; } | undefined; faviconGlyph?: string | undefined; feedback?: { content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; labels?: string | undefined; } | undefined; footer?: { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; } | undefined; gitTimestamp?: ReactNode | FC<{ locale: string; timestamp: Date; }>; head?: ReactNode | FC; hero?: { component?: ReactNode | FC; height?: string | number | undefined; } | undefined; i18n?: { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }[] | undefined; localSwitch?: { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; logo?: ReactNode | FC; logoLink?: string | boolean | undefined; main?: FC<{ children: ReactNode; }> | undefined; navbar?: { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; } | undefined; nextThemes?: { attribute?: string | undefined; defaultTheme?: string | undefined; forcedTheme?: string | undefined; storageKey?: string | undefined; } | undefined; notFound?: { content?: ReactNode | FC; labels?: string | undefined; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; } | undefined; primaryHue?: number | { dark: number; light: number; } | undefined; project?: { icon?: ReactNode | FC; link?: string | undefined; } | undefined; sandbox?: { providers?: z.objectOutputType<{}, z.ZodString, "strict"> | undefined; } | undefined; sidebar?: { icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; defaultMenuCollapseLevel?: number | undefined; mobileBreakpoint?: number | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; } | undefined; search?: { component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; codeblocks?: boolean | undefined; emptyResult?: ReactNode | FC; error?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; loading?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; placeholder?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; position?: "navbar" | "sidebar" | undefined; } | undefined; serverSideError?: { content?: ReactNode | FC; labels?: string | undefined; } | undefined; themeSwitch?: { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; dark?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; light?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; system?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; toaster?: { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; } | undefined; tocContent?: { float?: boolean | undefined; component?: FC | undefined; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; } | undefined; tocSidebar?: { float?: boolean | undefined; component?: FC | undefined; title?: string | undefined; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; } | undefined; useNextSeoProps?: (() => NextSeoProps | void) | undefined; }, { navigation?: boolean | { next: boolean; prev: boolean; } | undefined; content?: { permalink?: { label?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; showDescription?: boolean | undefined; showTitle?: boolean | undefined; } | undefined; backToTop?: { active?: boolean | undefined; content?: ReactNode | FC<{ locale: string; }> | ((args_0: { locale: string; }, ...args_1: unknown[]) => string); } | undefined; banner?: { content?: ReactNode | FC; dismissible?: boolean | undefined; key?: string | undefined; } | undefined; chat?: { icon?: ReactNode | FC; link?: string | undefined; } | undefined; comments?: { categoryId?: string | undefined; repository?: string | undefined; repositoryId?: string | undefined; } | undefined; components?: any; darkMode?: boolean | undefined; direction?: "ltr" | "rtl" | undefined; docsRepositoryBase?: string | undefined; editLink?: { content?: ReactNode | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | FC<{ locale: string; }>; component?: FC<{ children: ReactNode; className?: string | undefined; filePath?: string | undefined; }> | undefined; } | undefined; faviconGlyph?: string | undefined; feedback?: { content?: ReactNode | FC; link?: ((args_0: { route: string; docsRepositoryBase: string; labels: string; title: string; }, ...args_1: unknown[]) => string) | undefined; labels?: string | undefined; } | undefined; footer?: { component?: ReactNode | FC<{ menu: boolean; }>; className?: string | undefined; copyright?: ReactNode | FC<{ activeType: ActiveType; }>; } | undefined; gitTimestamp?: ReactNode | FC<{ locale: string; timestamp: Date; }>; head?: ReactNode | FC; hero?: { component?: ReactNode | FC; height?: string | number | undefined; } | undefined; i18n?: { locale: string; name: string; direction?: "ltr" | "rtl" | undefined; }[] | undefined; localSwitch?: { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; logo?: ReactNode | FC; logoLink?: string | boolean | undefined; main?: FC<{ children: ReactNode; }> | undefined; navbar?: { component?: ReactNode | FC; extraContent?: ReactNode | FC; linkBack?: ReactNode | FC<{ locale: string; }>; } | undefined; nextThemes?: { attribute?: string | undefined; defaultTheme?: string | undefined; forcedTheme?: string | undefined; storageKey?: string | undefined; } | undefined; notFound?: { content?: ReactNode | FC; labels?: string | undefined; pages?: ((args_0: { locale: string; }, ...args_1: unknown[]) => { title: string; url: string; icon?: ReactNode | FC; subtitle?: string | undefined; }[]) | undefined; } | undefined; primaryHue?: number | { dark: number; light: number; } | undefined; project?: { icon?: ReactNode | FC; link?: string | undefined; } | undefined; sandbox?: { providers?: z.objectInputType<{}, z.ZodString, "strict"> | undefined; } | undefined; sidebar?: { icon?: ReactNode | FC<{ className: string; route: string; title: string; type: string; }>; autoCollapse?: boolean | undefined; defaultMenuCollapseLevel?: number | undefined; mobileBreakpoint?: number | undefined; titleComponent?: ReactNode | FC<{ route: string; title: string; type: string; }>; } | undefined; search?: { component?: ReactNode | FC<{ className?: string | undefined; directories: Item[]; }>; codeblocks?: boolean | undefined; emptyResult?: ReactNode | FC; error?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; loading?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; placeholder?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; position?: "navbar" | "sidebar" | undefined; } | undefined; serverSideError?: { content?: ReactNode | FC; labels?: string | undefined; } | undefined; themeSwitch?: { title?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; dark?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; light?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; system?: string | ((args_0: { locale: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; toaster?: { position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | undefined; gutter?: number | undefined; reverseOrder?: boolean | undefined; toastOptions?: {} | undefined; } | undefined; tocContent?: { float?: boolean | undefined; component?: FC | undefined; title?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; } | undefined; tocSidebar?: { float?: boolean | undefined; component?: FC | undefined; title?: string | undefined; extraContent?: ReactNode | FC; headingComponent?: FC<{ children: string; id: string; }> | undefined; } | undefined; useNextSeoProps?: (() => NextSeoProps | void) | undefined; }>; type DocumentationThemeConfig = z.infer; type PartialDocumentsThemeConfig = z.infer; declare const useConfig: () => Config; type Config = DocumentationThemeConfig & Pick, "flexsearch" | "frontMatter" | "title"> & { description?: string; }; export { type PartialDocumentsThemeConfig as DocumentationThemeConfig, useConfig };