import type { RelativePosixFilePath } from '@contentlayer2/utils'; import type { Has } from '@contentlayer2/utils/effect'; import { HashMap, O, State, T } from '@contentlayer2/utils/effect'; type DocumentTypeName = string; declare const DocumentTypeMap_base: import("@effect-ts/system/Case").CaseConstructorTagged<"@local/DocumentTypeMap", "_tag">; export declare class DocumentTypeMap extends DocumentTypeMap_base<{ readonly map: HashMap.HashMap; }> { static init: () => DocumentTypeMap; add: (documentTypeName: DocumentTypeName, filePath: RelativePosixFilePath) => DocumentTypeMap; getFilePaths: (documentTypeName: DocumentTypeName) => O.Option; } /** * This state is needed for certain kinds of error handling (e.g. to check if singleton documents have been provided) */ export declare const DocumentTypeMapState: State.StateExternal; export declare const provideDocumentTypeMapState: (self: T.Effect>, E1, A1>) => T.Effect; export type HasDocumentTypeMapState = Has>; export {}; //# sourceMappingURL=DocumentTypeMap.d.ts.map