import { z } from 'zod'; declare const theme_info_schema: z.ZodObject<{ name: z.ZodLiteral<"theme_info">; theme_author: z.ZodString; theme_documentation_url: z.ZodOptional; theme_name: z.ZodString; theme_support_url: z.ZodOptional; theme_version: z.ZodString; }, "strip", z.ZodTypeAny, { name: "theme_info"; theme_author: string; theme_name: string; theme_version: string; theme_documentation_url?: string | undefined; theme_support_url?: string | undefined; }, { name: "theme_info"; theme_author: string; theme_name: string; theme_version: string; theme_documentation_url?: string | undefined; theme_support_url?: string | undefined; }>; export type ThemeInfo = z.infer; export declare const global_settings_section: z.ZodObject<{ name: z.ZodString; settings: z.ZodArray; placeholder: z.ZodOptional; } & { type: z.ZodLiteral<"text">; }, "strip", z.ZodTypeAny, { type: "text"; default?: string | undefined; placeholder?: string | undefined; }, { type: "text"; default?: string | undefined; placeholder?: string | undefined; }>, z.ZodObject<{ default: z.ZodOptional; placeholder: z.ZodOptional; } & { type: z.ZodLiteral<"textarea">; }, "strip", z.ZodTypeAny, { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; }, { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; }>, z.ZodObject<{ default: z.ZodDefault; placeholder: z.ZodOptional; type: z.ZodLiteral<"number">; }, "strip", z.ZodTypeAny, { default: number; type: "number"; placeholder?: string | undefined; }, { type: "number"; default?: number | undefined; placeholder?: string | undefined; }>, z.ZodObject<{ default: z.ZodUnion<[z.ZodString, z.ZodDefault]>; options: z.ZodArray, "many">; type: z.ZodLiteral<"radio">; }, "strip", z.ZodTypeAny, { default: string | number; options: { value: string; label: string; }[]; type: "radio"; }, { options: { value: string; label: string; }[]; type: "radio"; default?: string | number | undefined; }>, z.ZodObject<{ default: z.ZodDefault; type: z.ZodLiteral<"checkbox">; }, "strip", z.ZodTypeAny, { default: boolean; type: "checkbox"; }, { type: "checkbox"; default?: boolean | undefined; }>, z.ZodObject<{ default: z.ZodUnion<[z.ZodString, z.ZodDefault]>; group: z.ZodOptional; options: z.ZodArray, "many">; type: z.ZodLiteral<"select">; }, "strip", z.ZodTypeAny, { default: string | number; options: { value: string; label: string; }[]; type: "select"; group?: string | undefined; }, { options: { value: string; label: string; }[]; type: "select"; default?: string | number | undefined; group?: string | undefined; }>, z.ZodObject<{ default: z.ZodNumber; max: z.ZodDefault; min: z.ZodDefault; step: z.ZodDefault; type: z.ZodLiteral<"range">; unit: z.ZodUnion<[z.ZodEnum<["px", "%", "em", "rem", "vh"]>, z.ZodDefault]>; }, "strip", z.ZodTypeAny, { default: number; type: "range"; max: number; min: number; step: number; unit: string; }, { default: number; type: "range"; max?: number | undefined; min?: number | undefined; step?: number | undefined; unit?: string | undefined; }>, ...(z.ZodObject<{ type: z.ZodLiteral<"article">; }, "strip", z.ZodTypeAny, { type: "article"; }, { type: "article"; }> | z.ZodObject<{ type: z.ZodLiteral<"blog">; }, "strip", z.ZodTypeAny, { type: "blog"; }, { type: "blog"; }> | z.ZodObject<{ type: z.ZodLiteral<"collection">; }, "strip", z.ZodTypeAny, { type: "collection"; }, { type: "collection"; }> | z.ZodObject<{ type: z.ZodLiteral<"collection_list">; }, "strip", z.ZodTypeAny, { type: "collection_list"; }, { type: "collection_list"; }> | z.ZodObject<{ type: z.ZodLiteral<"image_picker">; }, "strip", z.ZodTypeAny, { type: "image_picker"; }, { type: "image_picker"; }> | z.ZodObject<{ type: z.ZodLiteral<"link_list">; }, "strip", z.ZodTypeAny, { type: "link_list"; }, { type: "link_list"; }> | z.ZodObject<{ type: z.ZodLiteral<"liquid">; }, "strip", z.ZodTypeAny, { type: "liquid"; }, { type: "liquid"; }> | z.ZodObject<{ type: z.ZodLiteral<"page">; }, "strip", z.ZodTypeAny, { type: "page"; }, { type: "page"; }> | z.ZodObject<{ type: z.ZodLiteral<"product">; }, "strip", z.ZodTypeAny, { type: "product"; }, { type: "product"; }> | z.ZodObject<{ type: z.ZodLiteral<"product_list">; }, "strip", z.ZodTypeAny, { type: "product_list"; }, { type: "product_list"; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"color">; }, "strip", z.ZodTypeAny, { type: "color"; default?: string | undefined; }, { type: "color"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"color_background">; }, "strip", z.ZodTypeAny, { type: "color_background"; default?: string | undefined; }, { type: "color_background"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodString; type: z.ZodLiteral<"font_picker">; }, "strip", z.ZodTypeAny, { default: string; type: "font_picker"; }, { default: string; type: "font_picker"; }> | z.ZodObject<{ default: z.ZodOptional; placeholder: z.ZodOptional; type: z.ZodLiteral<"html">; }, "strip", z.ZodTypeAny, { type: "html"; default?: string | undefined; placeholder?: string | undefined; }, { type: "html"; default?: string | undefined; placeholder?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"richtext">; }, "strip", z.ZodTypeAny, { type: "richtext"; default?: string | undefined; }, { type: "richtext"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"url">; }, "strip", z.ZodTypeAny, { type: "url"; default?: string | undefined; }, { type: "url"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; placeholder: z.ZodOptional; type: z.ZodLiteral<"video_url">; }, "strip", z.ZodTypeAny, { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }, { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }>)[]]>, z.ZodObject<{ id: z.ZodString; info: z.ZodOptional; label: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; label?: string | undefined; info?: string | undefined; }, { id: string; label?: string | undefined; info?: string | undefined; }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ content: z.ZodString; type: z.ZodLiteral<"paragraph">; }, "strip", z.ZodTypeAny, { type: "paragraph"; content: string; }, { type: "paragraph"; content: string; }>, z.ZodObject<{ content: z.ZodString; type: z.ZodLiteral<"header">; }, "strip", z.ZodTypeAny, { type: "header"; content: string; }, { type: "header"; content: string; }>]>]>, "many">; }, "strip", z.ZodTypeAny, { name: string; settings: ({ type: "header"; content: string; } | { type: "paragraph"; content: string; } | (({ default: boolean; type: "checkbox"; } | { default: number; type: "number"; placeholder?: string | undefined; } | { default: string | number; options: { value: string; label: string; }[]; type: "radio"; } | { default: number; type: "range"; max: number; min: number; step: number; unit: string; } | { default: string | number; options: { value: string; label: string; }[]; type: "select"; group?: string | undefined; } | { type: "text"; default?: string | undefined; placeholder?: string | undefined; } | { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; } | { type: "article"; } | { type: "blog"; } | { type: "collection"; } | { type: "collection_list"; } | { type: "image_picker"; } | { type: "link_list"; } | { type: "liquid"; } | { type: "page"; } | { type: "product"; } | { type: "product_list"; } | { type: "color"; default?: string | undefined; } | { type: "color_background"; default?: string | undefined; } | { default: string; type: "font_picker"; } | { type: "html"; default?: string | undefined; placeholder?: string | undefined; } | { type: "richtext"; default?: string | undefined; } | { type: "url"; default?: string | undefined; } | { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }) & { id: string; label?: string | undefined; info?: string | undefined; }))[]; }, { name: string; settings: ({ type: "header"; content: string; } | { type: "paragraph"; content: string; } | (({ type: "checkbox"; default?: boolean | undefined; } | { type: "number"; default?: number | undefined; placeholder?: string | undefined; } | { options: { value: string; label: string; }[]; type: "radio"; default?: string | number | undefined; } | { default: number; type: "range"; max?: number | undefined; min?: number | undefined; step?: number | undefined; unit?: string | undefined; } | { options: { value: string; label: string; }[]; type: "select"; default?: string | number | undefined; group?: string | undefined; } | { type: "text"; default?: string | undefined; placeholder?: string | undefined; } | { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; } | { type: "article"; } | { type: "blog"; } | { type: "collection"; } | { type: "collection_list"; } | { type: "image_picker"; } | { type: "link_list"; } | { type: "liquid"; } | { type: "page"; } | { type: "product"; } | { type: "product_list"; } | { type: "color"; default?: string | undefined; } | { type: "color_background"; default?: string | undefined; } | { default: string; type: "font_picker"; } | { type: "html"; default?: string | undefined; placeholder?: string | undefined; } | { type: "richtext"; default?: string | undefined; } | { type: "url"; default?: string | undefined; } | { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }) & { id: string; label?: string | undefined; info?: string | undefined; }))[]; }>; export type GlobalSettingsSection = z.infer; declare const global_settings_schema: z.ZodTuple<[z.ZodObject<{ name: z.ZodLiteral<"theme_info">; theme_author: z.ZodString; theme_documentation_url: z.ZodOptional; theme_name: z.ZodString; theme_support_url: z.ZodOptional; theme_version: z.ZodString; }, "strip", z.ZodTypeAny, { name: "theme_info"; theme_author: string; theme_name: string; theme_version: string; theme_documentation_url?: string | undefined; theme_support_url?: string | undefined; }, { name: "theme_info"; theme_author: string; theme_name: string; theme_version: string; theme_documentation_url?: string | undefined; theme_support_url?: string | undefined; }>], z.ZodObject<{ name: z.ZodString; settings: z.ZodArray; placeholder: z.ZodOptional; } & { type: z.ZodLiteral<"text">; }, "strip", z.ZodTypeAny, { type: "text"; default?: string | undefined; placeholder?: string | undefined; }, { type: "text"; default?: string | undefined; placeholder?: string | undefined; }>, z.ZodObject<{ default: z.ZodOptional; placeholder: z.ZodOptional; } & { type: z.ZodLiteral<"textarea">; }, "strip", z.ZodTypeAny, { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; }, { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; }>, z.ZodObject<{ default: z.ZodDefault; placeholder: z.ZodOptional; type: z.ZodLiteral<"number">; }, "strip", z.ZodTypeAny, { default: number; type: "number"; placeholder?: string | undefined; }, { type: "number"; default?: number | undefined; placeholder?: string | undefined; }>, z.ZodObject<{ default: z.ZodUnion<[z.ZodString, z.ZodDefault]>; options: z.ZodArray, "many">; type: z.ZodLiteral<"radio">; }, "strip", z.ZodTypeAny, { default: string | number; options: { value: string; label: string; }[]; type: "radio"; }, { options: { value: string; label: string; }[]; type: "radio"; default?: string | number | undefined; }>, z.ZodObject<{ default: z.ZodDefault; type: z.ZodLiteral<"checkbox">; }, "strip", z.ZodTypeAny, { default: boolean; type: "checkbox"; }, { type: "checkbox"; default?: boolean | undefined; }>, z.ZodObject<{ default: z.ZodUnion<[z.ZodString, z.ZodDefault]>; group: z.ZodOptional; options: z.ZodArray, "many">; type: z.ZodLiteral<"select">; }, "strip", z.ZodTypeAny, { default: string | number; options: { value: string; label: string; }[]; type: "select"; group?: string | undefined; }, { options: { value: string; label: string; }[]; type: "select"; default?: string | number | undefined; group?: string | undefined; }>, z.ZodObject<{ default: z.ZodNumber; max: z.ZodDefault; min: z.ZodDefault; step: z.ZodDefault; type: z.ZodLiteral<"range">; unit: z.ZodUnion<[z.ZodEnum<["px", "%", "em", "rem", "vh"]>, z.ZodDefault]>; }, "strip", z.ZodTypeAny, { default: number; type: "range"; max: number; min: number; step: number; unit: string; }, { default: number; type: "range"; max?: number | undefined; min?: number | undefined; step?: number | undefined; unit?: string | undefined; }>, ...(z.ZodObject<{ type: z.ZodLiteral<"article">; }, "strip", z.ZodTypeAny, { type: "article"; }, { type: "article"; }> | z.ZodObject<{ type: z.ZodLiteral<"blog">; }, "strip", z.ZodTypeAny, { type: "blog"; }, { type: "blog"; }> | z.ZodObject<{ type: z.ZodLiteral<"collection">; }, "strip", z.ZodTypeAny, { type: "collection"; }, { type: "collection"; }> | z.ZodObject<{ type: z.ZodLiteral<"collection_list">; }, "strip", z.ZodTypeAny, { type: "collection_list"; }, { type: "collection_list"; }> | z.ZodObject<{ type: z.ZodLiteral<"image_picker">; }, "strip", z.ZodTypeAny, { type: "image_picker"; }, { type: "image_picker"; }> | z.ZodObject<{ type: z.ZodLiteral<"link_list">; }, "strip", z.ZodTypeAny, { type: "link_list"; }, { type: "link_list"; }> | z.ZodObject<{ type: z.ZodLiteral<"liquid">; }, "strip", z.ZodTypeAny, { type: "liquid"; }, { type: "liquid"; }> | z.ZodObject<{ type: z.ZodLiteral<"page">; }, "strip", z.ZodTypeAny, { type: "page"; }, { type: "page"; }> | z.ZodObject<{ type: z.ZodLiteral<"product">; }, "strip", z.ZodTypeAny, { type: "product"; }, { type: "product"; }> | z.ZodObject<{ type: z.ZodLiteral<"product_list">; }, "strip", z.ZodTypeAny, { type: "product_list"; }, { type: "product_list"; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"color">; }, "strip", z.ZodTypeAny, { type: "color"; default?: string | undefined; }, { type: "color"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"color_background">; }, "strip", z.ZodTypeAny, { type: "color_background"; default?: string | undefined; }, { type: "color_background"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodString; type: z.ZodLiteral<"font_picker">; }, "strip", z.ZodTypeAny, { default: string; type: "font_picker"; }, { default: string; type: "font_picker"; }> | z.ZodObject<{ default: z.ZodOptional; placeholder: z.ZodOptional; type: z.ZodLiteral<"html">; }, "strip", z.ZodTypeAny, { type: "html"; default?: string | undefined; placeholder?: string | undefined; }, { type: "html"; default?: string | undefined; placeholder?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"richtext">; }, "strip", z.ZodTypeAny, { type: "richtext"; default?: string | undefined; }, { type: "richtext"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; type: z.ZodLiteral<"url">; }, "strip", z.ZodTypeAny, { type: "url"; default?: string | undefined; }, { type: "url"; default?: string | undefined; }> | z.ZodObject<{ default: z.ZodOptional; placeholder: z.ZodOptional; type: z.ZodLiteral<"video_url">; }, "strip", z.ZodTypeAny, { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }, { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }>)[]]>, z.ZodObject<{ id: z.ZodString; info: z.ZodOptional; label: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; label?: string | undefined; info?: string | undefined; }, { id: string; label?: string | undefined; info?: string | undefined; }>>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ content: z.ZodString; type: z.ZodLiteral<"paragraph">; }, "strip", z.ZodTypeAny, { type: "paragraph"; content: string; }, { type: "paragraph"; content: string; }>, z.ZodObject<{ content: z.ZodString; type: z.ZodLiteral<"header">; }, "strip", z.ZodTypeAny, { type: "header"; content: string; }, { type: "header"; content: string; }>]>]>, "many">; }, "strip", z.ZodTypeAny, { name: string; settings: ({ type: "header"; content: string; } | { type: "paragraph"; content: string; } | (({ default: boolean; type: "checkbox"; } | { default: number; type: "number"; placeholder?: string | undefined; } | { default: string | number; options: { value: string; label: string; }[]; type: "radio"; } | { default: number; type: "range"; max: number; min: number; step: number; unit: string; } | { default: string | number; options: { value: string; label: string; }[]; type: "select"; group?: string | undefined; } | { type: "text"; default?: string | undefined; placeholder?: string | undefined; } | { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; } | { type: "article"; } | { type: "blog"; } | { type: "collection"; } | { type: "collection_list"; } | { type: "image_picker"; } | { type: "link_list"; } | { type: "liquid"; } | { type: "page"; } | { type: "product"; } | { type: "product_list"; } | { type: "color"; default?: string | undefined; } | { type: "color_background"; default?: string | undefined; } | { default: string; type: "font_picker"; } | { type: "html"; default?: string | undefined; placeholder?: string | undefined; } | { type: "richtext"; default?: string | undefined; } | { type: "url"; default?: string | undefined; } | { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }) & { id: string; label?: string | undefined; info?: string | undefined; }))[]; }, { name: string; settings: ({ type: "header"; content: string; } | { type: "paragraph"; content: string; } | (({ type: "checkbox"; default?: boolean | undefined; } | { type: "number"; default?: number | undefined; placeholder?: string | undefined; } | { options: { value: string; label: string; }[]; type: "radio"; default?: string | number | undefined; } | { default: number; type: "range"; max?: number | undefined; min?: number | undefined; step?: number | undefined; unit?: string | undefined; } | { options: { value: string; label: string; }[]; type: "select"; default?: string | number | undefined; group?: string | undefined; } | { type: "text"; default?: string | undefined; placeholder?: string | undefined; } | { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; } | { type: "article"; } | { type: "blog"; } | { type: "collection"; } | { type: "collection_list"; } | { type: "image_picker"; } | { type: "link_list"; } | { type: "liquid"; } | { type: "page"; } | { type: "product"; } | { type: "product_list"; } | { type: "color"; default?: string | undefined; } | { type: "color_background"; default?: string | undefined; } | { default: string; type: "font_picker"; } | { type: "html"; default?: string | undefined; placeholder?: string | undefined; } | { type: "richtext"; default?: string | undefined; } | { type: "url"; default?: string | undefined; } | { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }) & { id: string; label?: string | undefined; info?: string | undefined; }))[]; }>>; export type GlobalSettingsSchema = z.infer; export declare const parseThemeSettings: (data: unknown) => [{ name: "theme_info"; theme_author: string; theme_name: string; theme_version: string; theme_documentation_url?: string | undefined; theme_support_url?: string | undefined; }, ...{ name: string; settings: ({ type: "header"; content: string; } | { type: "paragraph"; content: string; } | (({ default: boolean; type: "checkbox"; } | { default: number; type: "number"; placeholder?: string | undefined; } | { default: string | number; options: { value: string; label: string; }[]; type: "radio"; } | { default: number; type: "range"; max: number; min: number; step: number; unit: string; } | { default: string | number; options: { value: string; label: string; }[]; type: "select"; group?: string | undefined; } | { type: "text"; default?: string | undefined; placeholder?: string | undefined; } | { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; } | { type: "article"; } | { type: "blog"; } | { type: "collection"; } | { type: "collection_list"; } | { type: "image_picker"; } | { type: "link_list"; } | { type: "liquid"; } | { type: "page"; } | { type: "product"; } | { type: "product_list"; } | { type: "color"; default?: string | undefined; } | { type: "color_background"; default?: string | undefined; } | { default: string; type: "font_picker"; } | { type: "html"; default?: string | undefined; placeholder?: string | undefined; } | { type: "richtext"; default?: string | undefined; } | { type: "url"; default?: string | undefined; } | { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }) & { id: string; label?: string | undefined; info?: string | undefined; }))[]; }[]] | undefined; export declare const parseThemeSettingSection: (data: unknown) => { name: string; settings: ({ type: "header"; content: string; } | { type: "paragraph"; content: string; } | (({ default: boolean; type: "checkbox"; } | { default: number; type: "number"; placeholder?: string | undefined; } | { default: string | number; options: { value: string; label: string; }[]; type: "radio"; } | { default: number; type: "range"; max: number; min: number; step: number; unit: string; } | { default: string | number; options: { value: string; label: string; }[]; type: "select"; group?: string | undefined; } | { type: "text"; default?: string | undefined; placeholder?: string | undefined; } | { type: "textarea"; default?: string | undefined; placeholder?: string | undefined; } | { type: "article"; } | { type: "blog"; } | { type: "collection"; } | { type: "collection_list"; } | { type: "image_picker"; } | { type: "link_list"; } | { type: "liquid"; } | { type: "page"; } | { type: "product"; } | { type: "product_list"; } | { type: "color"; default?: string | undefined; } | { type: "color_background"; default?: string | undefined; } | { default: string; type: "font_picker"; } | { type: "html"; default?: string | undefined; placeholder?: string | undefined; } | { type: "richtext"; default?: string | undefined; } | { type: "url"; default?: string | undefined; } | { type: "video_url"; default?: string | undefined; placeholder?: string | undefined; }) & { id: string; label?: string | undefined; info?: string | undefined; }))[]; } | undefined; export {}; //# sourceMappingURL=theme.d.ts.map