site/node_modules/mdast-util-gfm-autolink-literal/lib/index.d.ts
2024-10-14 08:09:33 +02:00

29 lines
1.3 KiB
TypeScript

/**
* Create an extension for `mdast-util-from-markdown` to enable GFM autolink
* literals in markdown.
*
* @returns {FromMarkdownExtension}
* Extension for `mdast-util-to-markdown` to enable GFM autolink literals.
*/
export function gfmAutolinkLiteralFromMarkdown(): FromMarkdownExtension
/**
* Create an extension for `mdast-util-to-markdown` to enable GFM autolink
* literals in markdown.
*
* @returns {ToMarkdownExtension}
* Extension for `mdast-util-to-markdown` to enable GFM autolink literals.
*/
export function gfmAutolinkLiteralToMarkdown(): ToMarkdownExtension
export type Link = import('mdast').Link
export type PhrasingContent = import('mdast').PhrasingContent
export type CompileContext = import('mdast-util-from-markdown').CompileContext
export type FromMarkdownExtension = import('mdast-util-from-markdown').Extension
export type FromMarkdownHandle = import('mdast-util-from-markdown').Handle
export type FromMarkdownTransform = import('mdast-util-from-markdown').Transform
export type ConstructName = import('mdast-util-to-markdown').ConstructName
export type ToMarkdownExtension = import('mdast-util-to-markdown').Options
export type RegExpMatchObject =
import('mdast-util-find-and-replace').RegExpMatchObject
export type ReplaceFunction =
import('mdast-util-find-and-replace').ReplaceFunction