import type { Token, TokenTree } from './types.js'; export type { Token, TokenTree } from './types.js'; export interface ParseOptions { markdoc?: boolean; } export declare function parseMarkdown(content: string, options?: ParseOptions): TokenTree; /** * Filters the tree's flat token list by type. By default, tokens produced * by reparsing an `htmlFlow` block (see `reparseHtmlFlow` above) are * EXCLUDED -- matching upstream markdownlint's own `filterByTypes(tokens, * types, htmlFlow)` helper, whose `htmlFlow` parameter defaults to falsy. * Pass `includeHtmlFlow: true` for rules that explicitly want to see * inside HTML blocks too (upstream's MD033/no-inline-html and * MD045/no-alt-text opt in this way; see their recheck ports for the same * opt-in). */ export declare function filterByTypes(tree: TokenTree, types: readonly string[], includeHtmlFlow?: boolean): Token[]; //# sourceMappingURL=index.d.ts.map