import z from 'zod'; import type { TinaField } from '@tinacms/schema-tools'; export declare const getTinaFieldsFromName: (name: string) => { name: string; nameOverride: string; } | { name: string; nameOverride?: undefined; }; export declare const stringifyTemplateName: (name: string, template: string) => string; declare const forestryFieldWithoutField: z.ZodObject<{ type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"datetime">, z.ZodLiteral<"list">, z.ZodLiteral<"file">, z.ZodLiteral<"image_gallery">, z.ZodLiteral<"textarea">, z.ZodLiteral<"tag_list">, z.ZodLiteral<"number">, z.ZodLiteral<"boolean">, z.ZodLiteral<"field_group">, z.ZodLiteral<"field_group_list">, z.ZodLiteral<"select">, z.ZodLiteral<"include">, z.ZodLiteral<"blocks">, z.ZodLiteral<"color">]>; template_types: z.ZodNullable>>; name: z.ZodString; label: z.ZodString; default: z.ZodOptional; template: z.ZodOptional; config: z.ZodOptional>; max: z.ZodNullable>; required: z.ZodNullable>; use_select: z.ZodNullable>; date_format: z.ZodNullable>; time_format: z.ZodNullable>; options: z.ZodNullable>>; source: z.ZodOptional, z.ZodLiteral<"pages">, z.ZodLiteral<"documents">, z.ZodLiteral<"simple">, z.ZodString]>>>; section: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type?: string; section?: string; }, { type?: string; section?: string; }>>; }, "strip", z.ZodTypeAny, { required?: boolean; options?: string[]; max?: number; min?: number; use_select?: boolean; date_format?: string; time_format?: string; source?: { type?: string; section?: string; }; }, { required?: boolean; options?: string[]; max?: number; min?: number; use_select?: boolean; date_format?: string; time_format?: string; source?: { type?: string; section?: string; }; }>>; }, "strip", z.ZodTypeAny, { default?: any; name?: string; config?: { required?: boolean; options?: string[]; max?: number; min?: number; use_select?: boolean; date_format?: string; time_format?: string; source?: { type?: string; section?: string; }; }; label?: string; type?: "number" | "boolean" | "text" | "color" | "file" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks"; template?: string; template_types?: string[]; }, { default?: any; name?: string; config?: { required?: boolean; options?: string[]; max?: number; min?: number; use_select?: boolean; date_format?: string; time_format?: string; source?: { type?: string; section?: string; }; }; label?: string; type?: "number" | "boolean" | "text" | "color" | "file" | "include" | "list" | "datetime" | "select" | "image_gallery" | "textarea" | "tag_list" | "field_group" | "field_group_list" | "blocks"; template?: string; template_types?: string[]; }>; type ForestryFieldWithoutFieldType = z.infer; interface ForestryFieldType extends ForestryFieldWithoutFieldType { fields?: ForestryFieldType[]; } declare const FrontmatterTemplateSchema: z.ZodObject<{ label: z.ZodString; hide_body: z.ZodOptional; fields: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { fields?: ForestryFieldType[]; label?: string; hide_body?: boolean; }, { fields?: ForestryFieldType[]; label?: string; hide_body?: boolean; }>; export declare const transformForestryFieldsToTinaFields: ({ fields, pathToForestryConfig, template, skipBlocks, }: { fields: z.infer["fields"]; pathToForestryConfig: string; template: string; skipBlocks?: boolean; }) => TinaField[]; export declare const getFieldsFromTemplates: (_args: { tem: string; pathToForestryConfig: string; skipBlocks?: boolean; }) => { fields: TinaField[]; templateObj: any; template: { label?: string; hide_body?: boolean; fields?: ForestryFieldType[]; }; }; export declare const parseTemplates: ({ val }: { val: unknown; }) => { fields?: ForestryFieldType[]; label?: string; hide_body?: boolean; }; export declare const checkForestrySettingsPath: ({ forestryPath, }: { forestryPath: string; }) => Promise; export declare const parseSections: ({ val }: { val: unknown; }) => { sections?: { match?: string; templates?: string[]; label?: string; path?: string; type?: "heading" | "document" | "directory" | "jekyll-pages" | "jekyll-posts"; exclude?: string; create?: "none" | "all" | "documents"; new_doc_ext?: string; read_only?: boolean; }[]; }; export {};