import type { HasCwd } from '@contentlayer2/core'; import * as core from '@contentlayer2/core'; import type { AbsolutePosixFilePath, fs, RelativePosixFilePath } from '@contentlayer2/utils'; import type { E, HasConsole, OT } from '@contentlayer2/utils/effect'; import { S } from '@contentlayer2/utils/effect'; import type * as LocalSchema from '../schema/defs/index.js'; import type { ContentTypeMap, FilePathPatternMap, Flags } from '../types.js'; export declare const fetchData: ({ coreSchemaDef, documentTypeDefs, flags, options, contentDirPath, contentDirInclude, contentDirExclude, skipCachePersistence, verbose, }: { coreSchemaDef: core.SchemaDef; documentTypeDefs: LocalSchema.DocumentTypeDef[]; flags: Flags; options: core.PluginOptions; contentDirPath: AbsolutePosixFilePath; contentDirInclude: readonly RelativePosixFilePath[]; contentDirExclude: readonly RelativePosixFilePath[]; /** * For example for dynamic content builds, we'd like to do as much as possible in-memory * and thus want to skip persisted caching */ skipCachePersistence?: boolean; verbose: boolean; }) => S.Stream>; export declare const testOnly_makefilePathPatternMap: (documentTypeDefs: LocalSchema.DocumentTypeDef[]) => FilePathPatternMap; export declare const testOnly_makeContentTypeMap: (documentTypeDefs: LocalSchema.DocumentTypeDef[]) => ContentTypeMap; //# sourceMappingURL=index.d.ts.map