import type * as core from '@contentlayer2/core'; import { T } from '@contentlayer2/utils/effect'; import * as zod from 'zod'; import { FetchDataError } from '../../errors/index.js'; import type { HasDocumentContext } from '../DocumentContext.js'; declare const codecMap: { boolean: zod.ZodBoolean; number: zod.ZodNumber; string: zod.ZodString; date: zod.ZodString; enum: zod.ZodString; image: zod.ZodEffects; }, "strip", zod.ZodTypeAny, { src: string; alt?: string | undefined; }, { src: string; alt?: string | undefined; }>]>, { src: string; alt?: string | undefined; }, string | { src: string; alt?: string | undefined; }>; json: zod.ZodAny; list: zod.ZodArray; list_polymorphic: zod.ZodArray; markdown: zod.ZodString; mdx: zod.ZodString; nested: zod.ZodRecord; nested_polymorphic: zod.ZodRecord; nested_unnamed: zod.ZodRecord; reference: zod.ZodString; reference_polymorphic: zod.ZodString; }; export type ParsedFieldData = zod.infer<(typeof codecMap)[TFieldType]>; export declare const parseFieldData: ({ rawData, fieldType, fieldName, }: { rawData: unknown; fieldType: TFieldType; /** Only needed for error handling */ fieldName: string; }) => T.Effect>; export {}; //# sourceMappingURL=parseFieldData.d.ts.map