UNPKG

@alauda/doom

Version:

Doctor Doom making docs.

17 lines (16 loc) 642 B
import type { Root } from 'mdast'; import type { Plugin } from 'unified'; import type { NormalizedReferenceSource, ReleaseNotesOptions } from './types.js'; export declare const MD_RELEASE_COMMENT_PATTERN: RegExp; export declare const MDX_RELEASE_COMMENT_PATTERN: RegExp; export declare const maybeHaveRef: (filepath: string, content: string) => boolean | undefined; export declare const remarkReplace: Plugin<[ { lang: string | null; localBasePath: string; root: string; items: Record<string, NormalizedReferenceSource>; force?: boolean; releaseNotes?: ReleaseNotesOptions; } ], Root>;