import { z } from 'zod'; import type { Config } from 'myst-config'; declare const JupyterBookConfig: z.ZodObject<{ title: z.ZodOptional>; author: z.ZodOptional>; copyright: z.ZodOptional>; logo: z.ZodOptional>; exclude_patterns: z.ZodOptional>>; parse: z.ZodOptional]>>>; myst_url_schemes: z.ZodOptional]>>>; myst_dmath_double_inline: z.ZodDefault; }, "strip", z.ZodTypeAny, { myst_dmath_double_inline: boolean; myst_enable_extensions?: string[] | null | undefined; myst_url_schemes?: string[] | null | undefined; }, { myst_enable_extensions?: string[] | null | undefined; myst_url_schemes?: string[] | null | undefined; myst_dmath_double_inline?: boolean | undefined; }>>>; execute: z.ZodOptional; raise_on_error: z.ZodDefault; show_tb: z.ZodDefault; execute_notebooks: z.ZodDefault, z.ZodLiteral<"cache">, z.ZodLiteral<"force">, z.ZodLiteral<"inline">, z.ZodLiteral<"off">, z.ZodLiteral]>>; cache: z.ZodOptional>; timeout: z.ZodDefault; allow_errors: z.ZodDefault; stderr_output: z.ZodDefault>; run_in_temp: z.ZodDefault; exclude_patterns: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { eval_regex: string; raise_on_error: boolean; show_tb: boolean; execute_notebooks: false | "cache" | "force" | "auto" | "inline" | "off"; timeout: number; allow_errors: boolean; stderr_output: "error" | "warn" | "remove" | "show" | "remove-warn" | "severe"; run_in_temp: boolean; cache?: string | null | undefined; exclude_patterns?: string[] | null | undefined; }, { cache?: string | null | undefined; exclude_patterns?: string[] | null | undefined; eval_regex?: string | undefined; raise_on_error?: boolean | undefined; show_tb?: boolean | undefined; execute_notebooks?: false | "cache" | "force" | "auto" | "inline" | "off" | undefined; timeout?: number | undefined; allow_errors?: boolean | undefined; stderr_output?: "error" | "warn" | "remove" | "show" | "remove-warn" | "severe" | undefined; run_in_temp?: boolean | undefined; }>>>; html: z.ZodOptional>; use_edit_page_button: z.ZodOptional>; use_repository_button: z.ZodOptional>; use_issues_button: z.ZodOptional>; extra_footer: z.ZodOptional>; google_analytics_id: z.ZodOptional>; analytics: z.ZodOptional>; google_analytics_id: z.ZodOptional>; }, "strip", z.ZodTypeAny, { google_analytics_id?: string | null | undefined; plausible_analytics_domain?: string | null | undefined; }, { google_analytics_id?: string | null | undefined; plausible_analytics_domain?: string | null | undefined; }>>>; home_page_in_navbar: z.ZodOptional>; baseurl: z.ZodOptional>; comments: z.ZodOptional]>>>; utterances: z.ZodOptional]>>>; }, "strip", z.ZodTypeAny, { hypothesis?: boolean | Record | null | undefined; utterances?: boolean | Record | null | undefined; }, { hypothesis?: boolean | Record | null | undefined; utterances?: boolean | Record | null | undefined; }>>>; announcement: z.ZodOptional>; }, "strip", z.ZodTypeAny, { favicon?: string | null | undefined; comments?: { hypothesis?: boolean | Record | null | undefined; utterances?: boolean | Record | null | undefined; } | null | undefined; baseurl?: string | null | undefined; use_edit_page_button?: boolean | null | undefined; use_repository_button?: boolean | null | undefined; use_issues_button?: boolean | null | undefined; extra_footer?: string | null | undefined; google_analytics_id?: string | null | undefined; analytics?: { google_analytics_id?: string | null | undefined; plausible_analytics_domain?: string | null | undefined; } | null | undefined; home_page_in_navbar?: boolean | null | undefined; announcement?: string | null | undefined; }, { favicon?: string | null | undefined; comments?: { hypothesis?: boolean | Record | null | undefined; utterances?: boolean | Record | null | undefined; } | null | undefined; baseurl?: string | null | undefined; use_edit_page_button?: boolean | null | undefined; use_repository_button?: boolean | null | undefined; use_issues_button?: boolean | null | undefined; extra_footer?: string | null | undefined; google_analytics_id?: string | null | undefined; analytics?: { google_analytics_id?: string | null | undefined; plausible_analytics_domain?: string | null | undefined; } | null | undefined; home_page_in_navbar?: boolean | null | undefined; announcement?: string | null | undefined; }>>>; latex: z.ZodOptional; use_jupyterbook_latex: z.ZodOptional>; latex_documents: z.ZodOptional>; }, "strip", z.ZodTypeAny, { targetname?: string | null | undefined; }, { targetname?: string | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { latex_engine: string; use_jupyterbook_latex?: boolean | null | undefined; latex_documents?: { targetname?: string | null | undefined; } | null | undefined; }, { latex_engine?: string | undefined; use_jupyterbook_latex?: boolean | null | undefined; latex_documents?: { targetname?: string | null | undefined; } | null | undefined; }>>>; bibtex_bibfiles: z.ZodOptional>>; launch_buttons: z.ZodOptional>; binderhub_url: z.ZodOptional>; jupyterhub_url: z.ZodOptional>; thebe: z.ZodOptional>; colab_url: z.ZodOptional>; }, "strip", z.ZodTypeAny, { thebe?: boolean | null | undefined; notebook_interface?: string | null | undefined; binderhub_url?: string | null | undefined; jupyterhub_url?: string | null | undefined; colab_url?: string | null | undefined; }, { thebe?: boolean | null | undefined; notebook_interface?: string | null | undefined; binderhub_url?: string | null | undefined; jupyterhub_url?: string | null | undefined; colab_url?: string | null | undefined; }>>>; repository: z.ZodOptional>; path_to_book: z.ZodOptional>; branch: z.ZodOptional>; }, "strip", z.ZodTypeAny, { url?: string | null | undefined; branch?: string | null | undefined; path_to_book?: string | null | undefined; }, { url?: string | null | undefined; branch?: string | null | undefined; path_to_book?: string | null | undefined; }>>>; sphinx: z.ZodOptional]>>>; local_extensions: z.ZodOptional]>>>; recursive_update: z.ZodOptional>; config: z.ZodOptional]>>>; }, "strip", z.ZodTypeAny, { config?: Record | null | undefined; extra_extensions?: string[] | null | undefined; local_extensions?: Record | null | undefined; recursive_update?: boolean | null | undefined; }, { config?: Record | null | undefined; extra_extensions?: string[] | null | undefined; local_extensions?: Record | null | undefined; recursive_update?: boolean | null | undefined; }>>>; }, "strip", z.ZodTypeAny, { title?: string | null | undefined; copyright?: string | null | undefined; html?: { favicon?: string | null | undefined; comments?: { hypothesis?: boolean | Record | null | undefined; utterances?: boolean | Record | null | undefined; } | null | undefined; baseurl?: string | null | undefined; use_edit_page_button?: boolean | null | undefined; use_repository_button?: boolean | null | undefined; use_issues_button?: boolean | null | undefined; extra_footer?: string | null | undefined; google_analytics_id?: string | null | undefined; analytics?: { google_analytics_id?: string | null | undefined; plausible_analytics_domain?: string | null | undefined; } | null | undefined; home_page_in_navbar?: boolean | null | undefined; announcement?: string | null | undefined; } | null | undefined; author?: string | null | undefined; execute?: { eval_regex: string; raise_on_error: boolean; show_tb: boolean; execute_notebooks: false | "cache" | "force" | "auto" | "inline" | "off"; timeout: number; allow_errors: boolean; stderr_output: "error" | "warn" | "remove" | "show" | "remove-warn" | "severe"; run_in_temp: boolean; cache?: string | null | undefined; exclude_patterns?: string[] | null | undefined; } | null | undefined; latex?: { latex_engine: string; use_jupyterbook_latex?: boolean | null | undefined; latex_documents?: { targetname?: string | null | undefined; } | null | undefined; } | null | undefined; logo?: string | null | undefined; exclude_patterns?: string[] | null | undefined; parse?: { myst_dmath_double_inline: boolean; myst_enable_extensions?: string[] | null | undefined; myst_url_schemes?: string[] | null | undefined; } | null | undefined; bibtex_bibfiles?: string[] | null | undefined; launch_buttons?: { thebe?: boolean | null | undefined; notebook_interface?: string | null | undefined; binderhub_url?: string | null | undefined; jupyterhub_url?: string | null | undefined; colab_url?: string | null | undefined; } | null | undefined; repository?: { url?: string | null | undefined; branch?: string | null | undefined; path_to_book?: string | null | undefined; } | null | undefined; sphinx?: { config?: Record | null | undefined; extra_extensions?: string[] | null | undefined; local_extensions?: Record | null | undefined; recursive_update?: boolean | null | undefined; } | null | undefined; }, { title?: string | null | undefined; copyright?: string | null | undefined; html?: { favicon?: string | null | undefined; comments?: { hypothesis?: boolean | Record | null | undefined; utterances?: boolean | Record | null | undefined; } | null | undefined; baseurl?: string | null | undefined; use_edit_page_button?: boolean | null | undefined; use_repository_button?: boolean | null | undefined; use_issues_button?: boolean | null | undefined; extra_footer?: string | null | undefined; google_analytics_id?: string | null | undefined; analytics?: { google_analytics_id?: string | null | undefined; plausible_analytics_domain?: string | null | undefined; } | null | undefined; home_page_in_navbar?: boolean | null | undefined; announcement?: string | null | undefined; } | null | undefined; author?: string | null | undefined; execute?: { cache?: string | null | undefined; exclude_patterns?: string[] | null | undefined; eval_regex?: string | undefined; raise_on_error?: boolean | undefined; show_tb?: boolean | undefined; execute_notebooks?: false | "cache" | "force" | "auto" | "inline" | "off" | undefined; timeout?: number | undefined; allow_errors?: boolean | undefined; stderr_output?: "error" | "warn" | "remove" | "show" | "remove-warn" | "severe" | undefined; run_in_temp?: boolean | undefined; } | null | undefined; latex?: { latex_engine?: string | undefined; use_jupyterbook_latex?: boolean | null | undefined; latex_documents?: { targetname?: string | null | undefined; } | null | undefined; } | null | undefined; logo?: string | null | undefined; exclude_patterns?: string[] | null | undefined; parse?: { myst_enable_extensions?: string[] | null | undefined; myst_url_schemes?: string[] | null | undefined; myst_dmath_double_inline?: boolean | undefined; } | null | undefined; bibtex_bibfiles?: string[] | null | undefined; launch_buttons?: { thebe?: boolean | null | undefined; notebook_interface?: string | null | undefined; binderhub_url?: string | null | undefined; jupyterhub_url?: string | null | undefined; colab_url?: string | null | undefined; } | null | undefined; repository?: { url?: string | null | undefined; branch?: string | null | undefined; path_to_book?: string | null | undefined; } | null | undefined; sphinx?: { config?: Record | null | undefined; extra_extensions?: string[] | null | undefined; local_extensions?: Record | null | undefined; recursive_update?: boolean | null | undefined; } | null | undefined; }>; export type JupyterBookConfig = z.infer; /** * Validate a loaded Jupyter Book _config.yml, or return undefined * * @param config - config object */ export declare function validateJupyterBookConfig(config: unknown): JupyterBookConfig; /** * Upgrade a Jupyter Book _config.yml into a myst.yml configuration * * @param config - validated Jupyter Book configuration */ export declare function upgradeConfig(data: JupyterBookConfig): Pick; export {}; //# sourceMappingURL=config.d.ts.map