import type { Root } from 'mdast';
import type { Plugin } from 'unified';
import type { NormalizedReferenceSource, ReleaseNotesOptions } from './types.ts';
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>;
