/// import type { RehypePlugin, RemarkPlugin, RemarkRehype } from '@astrojs/markdown-remark'; import type { ILanguageRegistration, IThemeRegistration, Theme } from 'shiki'; import type { ViteUserConfig } from '../../@types/astro'; import type { OutgoingHttpHeaders } from 'node:http'; import { z } from 'zod'; export declare const AstroConfigSchema: z.ZodObject<{ root: z.ZodEffects>, URL, string | undefined>; srcDir: z.ZodEffects>, URL, string | undefined>; publicDir: z.ZodEffects>, URL, string | undefined>; outDir: z.ZodEffects>, URL, string | undefined>; cacheDir: z.ZodEffects>, URL, string | undefined>; site: z.ZodOptional; compressHTML: z.ZodDefault>; base: z.ZodDefault>; trailingSlash: z.ZodDefault, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>; output: z.ZodDefault, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>; scopedStyleStrategy: z.ZodDefault, z.ZodLiteral<"class">]>>>; adapter: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; hooks: {}; }, { hooks?: {} | undefined; name: string; }>>; integrations: z.ZodEffects>; }, "strip", z.ZodTypeAny, { name: string; hooks: {}; }, { hooks?: {} | undefined; name: string; }>, "many">>, { name: string; hooks: {}; }[], unknown>; build: z.ZodDefault, z.ZodLiteral<"directory">]>>>; client: z.ZodEffects>, URL, string | undefined>; server: z.ZodEffects>, URL, string | undefined>; assets: z.ZodDefault>; assetsPrefix: z.ZodOptional; serverEntry: z.ZodDefault>; redirects: z.ZodDefault>; inlineStylesheets: z.ZodDefault>>; split: z.ZodDefault>; excludeMiddleware: z.ZodDefault>; }, "strip", z.ZodTypeAny, { assetsPrefix?: string | undefined; format: "file" | "directory"; client: URL; server: URL; assets: string; serverEntry: string; redirects: boolean; inlineStylesheets: "always" | "never" | "auto"; split: boolean; excludeMiddleware: boolean; }, { format?: "file" | "directory" | undefined; client?: string | undefined; server?: string | undefined; assets?: string | undefined; serverEntry?: string | undefined; redirects?: boolean | undefined; inlineStylesheets?: "always" | "never" | "auto" | undefined; split?: boolean | undefined; excludeMiddleware?: boolean | undefined; assetsPrefix?: string | undefined; }>>>; server: z.ZodEffects>; host: z.ZodDefault>>; port: z.ZodDefault>; headers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { headers?: OutgoingHttpHeaders | undefined; host: string | boolean; port: number; open: boolean; }, { host?: string | boolean | undefined; port?: number | undefined; headers?: OutgoingHttpHeaders | undefined; open?: boolean | undefined; }>>>, { headers?: OutgoingHttpHeaders | undefined; host: string | boolean; port: number; open: boolean; }, unknown>; redirects: z.ZodDefault>; image: z.ZodDefault, z.ZodLiteral<"astro/assets/services/squoosh">, z.ZodString]>; config: z.ZodDefault>; }, "strip", z.ZodTypeAny, { entrypoint: string; config: Record; }, { config?: Record | undefined; entrypoint: string; }>; }, "strip", z.ZodTypeAny, { service: { entrypoint: string; config: Record; }; }, { service: { config?: Record | undefined; entrypoint: string; }; }>>; markdown: z.ZodDefault; syntaxHighlight: z.ZodDefault, z.ZodLiteral<"prism">, z.ZodLiteral]>>; shikiConfig: z.ZodDefault, "many">>; theme: z.ZodDefault, z.ZodType]>>; wrap: z.ZodDefault>; }, "strip", z.ZodTypeAny, { langs: ILanguageRegistration[]; theme: string | import("shiki").IShikiTheme; wrap: boolean | null; }, { langs?: ILanguageRegistration[] | undefined; theme?: string | import("shiki").IShikiTheme | undefined; wrap?: boolean | null | undefined; }>>; remarkPlugins: z.ZodDefault, z.ZodType, z.ZodTuple<[z.ZodType, z.ZodAny], null>]>, "many">>; rehypePlugins: z.ZodDefault, z.ZodType, z.ZodTuple<[z.ZodType, z.ZodAny], null>]>, "many">>; remarkRehype: z.ZodDefault>>; gfm: z.ZodDefault; smartypants: z.ZodDefault; }, "strip", z.ZodTypeAny, { drafts: boolean; syntaxHighlight: false | "shiki" | "prism"; shikiConfig: { langs: ILanguageRegistration[]; theme: string | import("shiki").IShikiTheme; wrap: boolean | null; }; remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkRehype: RemarkRehype; gfm: boolean; smartypants: boolean; }, { drafts?: boolean | undefined; syntaxHighlight?: false | "shiki" | "prism" | undefined; shikiConfig?: { langs?: ILanguageRegistration[] | undefined; theme?: string | import("shiki").IShikiTheme | undefined; wrap?: boolean | null | undefined; } | undefined; remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined; rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined; remarkRehype?: RemarkRehype | undefined; gfm?: boolean | undefined; smartypants?: boolean | undefined; }>>; vite: z.ZodDefault>; experimental: z.ZodDefault>; redirects: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, { assets: boolean; redirects: boolean; }, { assets?: boolean | undefined; redirects?: boolean | undefined; }>, { assets: boolean; redirects: boolean; }, { assets?: boolean | undefined; redirects?: boolean | undefined; }>>>; legacy: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { site?: string | undefined; adapter?: { name: string; hooks: {}; } | undefined; output: "server" | "static" | "hybrid"; server: { headers?: OutgoingHttpHeaders | undefined; host: string | boolean; port: number; open: boolean; }; redirects: Record; root: URL; srcDir: URL; publicDir: URL; outDir: URL; cacheDir: URL; compressHTML: boolean; base: string; trailingSlash: "ignore" | "always" | "never"; scopedStyleStrategy: "where" | "class"; integrations: { name: string; hooks: {}; }[]; build: { assetsPrefix?: string | undefined; format: "file" | "directory"; client: URL; server: URL; assets: string; serverEntry: string; redirects: boolean; inlineStylesheets: "always" | "never" | "auto"; split: boolean; excludeMiddleware: boolean; }; image: { service: { entrypoint: string; config: Record; }; }; markdown: { drafts: boolean; syntaxHighlight: false | "shiki" | "prism"; shikiConfig: { langs: ILanguageRegistration[]; theme: string | import("shiki").IShikiTheme; wrap: boolean | null; }; remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkRehype: RemarkRehype; gfm: boolean; smartypants: boolean; }; vite: ViteUserConfig; experimental: { assets: boolean; redirects: boolean; }; legacy: {}; }, { output?: "server" | "static" | "hybrid" | undefined; server?: unknown; redirects?: Record | undefined; root?: string | undefined; srcDir?: string | undefined; publicDir?: string | undefined; outDir?: string | undefined; cacheDir?: string | undefined; site?: string | undefined; compressHTML?: boolean | undefined; base?: string | undefined; trailingSlash?: "ignore" | "always" | "never" | undefined; scopedStyleStrategy?: "where" | "class" | undefined; adapter?: { hooks?: {} | undefined; name: string; } | undefined; integrations?: unknown; build?: { format?: "file" | "directory" | undefined; client?: string | undefined; server?: string | undefined; assets?: string | undefined; serverEntry?: string | undefined; redirects?: boolean | undefined; inlineStylesheets?: "always" | "never" | "auto" | undefined; split?: boolean | undefined; excludeMiddleware?: boolean | undefined; assetsPrefix?: string | undefined; } | undefined; image?: { service: { config?: Record | undefined; entrypoint: string; }; } | undefined; markdown?: { drafts?: boolean | undefined; syntaxHighlight?: false | "shiki" | "prism" | undefined; shikiConfig?: { langs?: ILanguageRegistration[] | undefined; theme?: string | import("shiki").IShikiTheme | undefined; wrap?: boolean | null | undefined; } | undefined; remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined; rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined; remarkRehype?: RemarkRehype | undefined; gfm?: boolean | undefined; smartypants?: boolean | undefined; } | undefined; vite?: ViteUserConfig | undefined; experimental?: { assets?: boolean | undefined; redirects?: boolean | undefined; } | undefined; legacy?: {} | undefined; }>; export declare function createRelativeSchema(cmd: string, fileProtocolRoot: URL): z.ZodEffects, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>; redirects: z.ZodDefault>; site: z.ZodOptional; base: z.ZodDefault>; trailingSlash: z.ZodDefault, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>; scopedStyleStrategy: z.ZodDefault, z.ZodLiteral<"class">]>>>; adapter: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; hooks: {}; }, { hooks?: {} | undefined; name: string; }>>; integrations: z.ZodEffects>; }, "strip", z.ZodTypeAny, { name: string; hooks: {}; }, { hooks?: {} | undefined; name: string; }>, "many">>, { name: string; hooks: {}; }[], unknown>; image: z.ZodDefault, z.ZodLiteral<"astro/assets/services/squoosh">, z.ZodString]>; config: z.ZodDefault>; }, "strip", z.ZodTypeAny, { entrypoint: string; config: Record; }, { config?: Record | undefined; entrypoint: string; }>; }, "strip", z.ZodTypeAny, { service: { entrypoint: string; config: Record; }; }, { service: { config?: Record | undefined; entrypoint: string; }; }>>; markdown: z.ZodDefault; syntaxHighlight: z.ZodDefault, z.ZodLiteral<"prism">, z.ZodLiteral]>>; shikiConfig: z.ZodDefault, "many">>; theme: z.ZodDefault, z.ZodType]>>; wrap: z.ZodDefault>; }, "strip", z.ZodTypeAny, { langs: ILanguageRegistration[]; theme: string | import("shiki").IShikiTheme; wrap: boolean | null; }, { langs?: ILanguageRegistration[] | undefined; theme?: string | import("shiki").IShikiTheme | undefined; wrap?: boolean | null | undefined; }>>; remarkPlugins: z.ZodDefault, z.ZodType, z.ZodTuple<[z.ZodType, z.ZodAny], null>]>, "many">>; rehypePlugins: z.ZodDefault, z.ZodType, z.ZodTuple<[z.ZodType, z.ZodAny], null>]>, "many">>; remarkRehype: z.ZodDefault>>; gfm: z.ZodDefault; smartypants: z.ZodDefault; }, "strip", z.ZodTypeAny, { drafts: boolean; syntaxHighlight: false | "shiki" | "prism"; shikiConfig: { langs: ILanguageRegistration[]; theme: string | import("shiki").IShikiTheme; wrap: boolean | null; }; remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkRehype: RemarkRehype; gfm: boolean; smartypants: boolean; }, { drafts?: boolean | undefined; syntaxHighlight?: false | "shiki" | "prism" | undefined; shikiConfig?: { langs?: ILanguageRegistration[] | undefined; theme?: string | import("shiki").IShikiTheme | undefined; wrap?: boolean | null | undefined; } | undefined; remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined; rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined; remarkRehype?: RemarkRehype | undefined; gfm?: boolean | undefined; smartypants?: boolean | undefined; }>>; vite: z.ZodDefault>; experimental: z.ZodDefault>; redirects: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, { assets: boolean; redirects: boolean; }, { assets?: boolean | undefined; redirects?: boolean | undefined; }>, { assets: boolean; redirects: boolean; }, { assets?: boolean | undefined; redirects?: boolean | undefined; }>>>; legacy: z.ZodDefault>>; root: z.ZodEffects, URL, string | undefined>; srcDir: z.ZodEffects, URL, string | undefined>; compressHTML: z.ZodDefault>; publicDir: z.ZodEffects, URL, string | undefined>; outDir: z.ZodEffects, URL, string | undefined>; cacheDir: z.ZodEffects, URL, string | undefined>; build: z.ZodDefault, z.ZodLiteral<"directory">]>>>; client: z.ZodEffects>, URL, string | undefined>; server: z.ZodEffects>, URL, string | undefined>; assets: z.ZodDefault>; assetsPrefix: z.ZodOptional; serverEntry: z.ZodDefault>; redirects: z.ZodDefault>; inlineStylesheets: z.ZodDefault>>; split: z.ZodDefault>; excludeMiddleware: z.ZodDefault>; }, "strip", z.ZodTypeAny, { assetsPrefix?: string | undefined; format: "file" | "directory"; client: URL; server: URL; assets: string; serverEntry: string; redirects: boolean; inlineStylesheets: "always" | "never" | "auto"; split: boolean; excludeMiddleware: boolean; }, { format?: "file" | "directory" | undefined; client?: string | undefined; server?: string | undefined; assets?: string | undefined; serverEntry?: string | undefined; redirects?: boolean | undefined; inlineStylesheets?: "always" | "never" | "auto" | undefined; split?: boolean | undefined; excludeMiddleware?: boolean | undefined; assetsPrefix?: string | undefined; }>>>; server: z.ZodEffects>>; port: z.ZodDefault>; open: z.ZodDefault>; headers: z.ZodOptional>; streaming: z.ZodDefault>; }, "strip", z.ZodTypeAny, { headers?: OutgoingHttpHeaders | undefined; host: string | boolean; port: number; open: boolean; streaming: boolean; }, { host?: string | boolean | undefined; port?: number | undefined; headers?: OutgoingHttpHeaders | undefined; open?: boolean | undefined; streaming?: boolean | undefined; }>>>, { headers?: OutgoingHttpHeaders | undefined; host: string | boolean; port: number; open: boolean; streaming: boolean; }, unknown>; }, "strip", z.ZodTypeAny, { site?: string | undefined; adapter?: { name: string; hooks: {}; } | undefined; output: "server" | "static" | "hybrid"; server: { headers?: OutgoingHttpHeaders | undefined; host: string | boolean; port: number; open: boolean; streaming: boolean; }; redirects: Record; root: URL; srcDir: URL; publicDir: URL; outDir: URL; cacheDir: URL; compressHTML: boolean; base: string; trailingSlash: "ignore" | "always" | "never"; scopedStyleStrategy: "where" | "class"; integrations: { name: string; hooks: {}; }[]; build: { assetsPrefix?: string | undefined; format: "file" | "directory"; client: URL; server: URL; assets: string; serverEntry: string; redirects: boolean; inlineStylesheets: "always" | "never" | "auto"; split: boolean; excludeMiddleware: boolean; }; image: { service: { entrypoint: string; config: Record; }; }; markdown: { drafts: boolean; syntaxHighlight: false | "shiki" | "prism"; shikiConfig: { langs: ILanguageRegistration[]; theme: string | import("shiki").IShikiTheme; wrap: boolean | null; }; remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkRehype: RemarkRehype; gfm: boolean; smartypants: boolean; }; vite: ViteUserConfig; experimental: { assets: boolean; redirects: boolean; }; legacy: {}; }, { output?: "server" | "static" | "hybrid" | undefined; server?: unknown; redirects?: Record | undefined; root?: string | undefined; srcDir?: string | undefined; publicDir?: string | undefined; outDir?: string | undefined; cacheDir?: string | undefined; site?: string | undefined; compressHTML?: boolean | undefined; base?: string | undefined; trailingSlash?: "ignore" | "always" | "never" | undefined; scopedStyleStrategy?: "where" | "class" | undefined; adapter?: { hooks?: {} | undefined; name: string; } | undefined; integrations?: unknown; build?: { format?: "file" | "directory" | undefined; client?: string | undefined; server?: string | undefined; assets?: string | undefined; serverEntry?: string | undefined; redirects?: boolean | undefined; inlineStylesheets?: "always" | "never" | "auto" | undefined; split?: boolean | undefined; excludeMiddleware?: boolean | undefined; assetsPrefix?: string | undefined; } | undefined; image?: { service: { config?: Record | undefined; entrypoint: string; }; } | undefined; markdown?: { drafts?: boolean | undefined; syntaxHighlight?: false | "shiki" | "prism" | undefined; shikiConfig?: { langs?: ILanguageRegistration[] | undefined; theme?: string | import("shiki").IShikiTheme | undefined; wrap?: boolean | null | undefined; } | undefined; remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined; rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined; remarkRehype?: RemarkRehype | undefined; gfm?: boolean | undefined; smartypants?: boolean | undefined; } | undefined; vite?: ViteUserConfig | undefined; experimental?: { assets?: boolean | undefined; redirects?: boolean | undefined; } | undefined; legacy?: {} | undefined; }>, { site?: string | undefined; adapter?: { name: string; hooks: {}; } | undefined; output: "server" | "static" | "hybrid"; server: { headers?: OutgoingHttpHeaders | undefined; host: string | boolean; port: number; open: boolean; streaming: boolean; }; redirects: Record; root: URL; srcDir: URL; publicDir: URL; outDir: URL; cacheDir: URL; compressHTML: boolean; base: string; trailingSlash: "ignore" | "always" | "never"; scopedStyleStrategy: "where" | "class"; integrations: { name: string; hooks: {}; }[]; build: { assetsPrefix?: string | undefined; format: "file" | "directory"; client: URL; server: URL; assets: string; serverEntry: string; redirects: boolean; inlineStylesheets: "always" | "never" | "auto"; split: boolean; excludeMiddleware: boolean; }; image: { service: { entrypoint: string; config: Record; }; }; markdown: { drafts: boolean; syntaxHighlight: false | "shiki" | "prism"; shikiConfig: { langs: ILanguageRegistration[]; theme: string | import("shiki").IShikiTheme; wrap: boolean | null; }; remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[]; rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[]; remarkRehype: RemarkRehype; gfm: boolean; smartypants: boolean; }; vite: ViteUserConfig; experimental: { assets: boolean; redirects: boolean; }; legacy: {}; }, { output?: "server" | "static" | "hybrid" | undefined; server?: unknown; redirects?: Record | undefined; root?: string | undefined; srcDir?: string | undefined; publicDir?: string | undefined; outDir?: string | undefined; cacheDir?: string | undefined; site?: string | undefined; compressHTML?: boolean | undefined; base?: string | undefined; trailingSlash?: "ignore" | "always" | "never" | undefined; scopedStyleStrategy?: "where" | "class" | undefined; adapter?: { hooks?: {} | undefined; name: string; } | undefined; integrations?: unknown; build?: { format?: "file" | "directory" | undefined; client?: string | undefined; server?: string | undefined; assets?: string | undefined; serverEntry?: string | undefined; redirects?: boolean | undefined; inlineStylesheets?: "always" | "never" | "auto" | undefined; split?: boolean | undefined; excludeMiddleware?: boolean | undefined; assetsPrefix?: string | undefined; } | undefined; image?: { service: { config?: Record | undefined; entrypoint: string; }; } | undefined; markdown?: { drafts?: boolean | undefined; syntaxHighlight?: false | "shiki" | "prism" | undefined; shikiConfig?: { langs?: ILanguageRegistration[] | undefined; theme?: string | import("shiki").IShikiTheme | undefined; wrap?: boolean | null | undefined; } | undefined; remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined; rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined; remarkRehype?: RemarkRehype | undefined; gfm?: boolean | undefined; smartypants?: boolean | undefined; } | undefined; vite?: ViteUserConfig | undefined; experimental?: { assets?: boolean | undefined; redirects?: boolean | undefined; } | undefined; legacy?: {} | undefined; }>;