import type * as core from '@contentlayer2/core'; import type { AbsolutePosixFilePath, fs, RelativePosixFilePath } from '@contentlayer2/utils'; import type { HasConsole, OT } from '@contentlayer2/utils/effect'; import { T } from '@contentlayer2/utils/effect'; import { FetchDataError } from '../../errors/index.js'; import type { HasDocumentContext } from '../DocumentContext.js'; import type { RawContent } from '../types.js'; export declare const makeDocument: ({ rawContent, documentTypeDef, coreSchemaDef, relativeFilePath, contentDirPath, options, }: { rawContent: RawContent; documentTypeDef: core.DocumentTypeDef; coreSchemaDef: core.SchemaDef; relativeFilePath: RelativePosixFilePath; contentDirPath: AbsolutePosixFilePath; options: core.PluginOptions; }) => T.Effect; type MakeDocumentInternalError = core.UnexpectedMarkdownError | core.UnexpectedMDXError | FetchDataError.NoSuchNestedDocumentTypeError | FetchDataError.IncompatibleFieldDataError | FetchDataError.ImageError; export declare const getFlattenedPath: (relativeFilePath: string) => string; export declare const testOnly_getDataForFieldDef: ({ fieldDef, rawFieldData, isRootDocument, coreSchemaDef, options, documentFilePath, contentDirPath, }: { fieldDef: core.FieldDef; rawFieldData: any; isRootDocument: boolean; coreSchemaDef: core.SchemaDef; options: core.PluginOptions; documentFilePath: RelativePosixFilePath; contentDirPath: AbsolutePosixFilePath; }) => T.Effect; export {}; //# sourceMappingURL=index.d.ts.map