UNPKG

@pho9ubenaa/remark-mask-text-beta

Version:

A remark plugin to mask text content with block characters

21 lines (20 loc) 925 B
/** * Centralized type exports for remark-mask-text plugin * * Why (Business Logic Background): * - Centrally manage type definitions split by domain * - Enable easy imports from other modules * - Improve development efficiency while maintaining TypeScript type safety * - Minimize impact scope when type definitions change */ /** AST domain types - these are the core types that define our domain */ export type { ASTNode, HtmlNode, LinkNode, ParentNode, TextNode, } from "../ast-types"; /** Error type definitions */ export type { ProcessingError } from "./errors"; /** Masking domain types */ export type { MaskRegion, ProcessingStats, TransformationContext, } from "./masking"; /** Plugin configuration types */ export type { RemarkMaskTextOptions, ValidatedOptions } from "./plugin"; /** Result and error handling types */ export type { Result } from "./result"; export { isFailure, isSuccess } from "./result";