import type { TransformOptions, Header, HeaderWithRepetition, SectionInfo, TransformResult } from '../types.js'; export declare const matchesStart: (checkOpeningComments?: Array) => (line: string) => boolean; export declare const matchesEnd: (checkClosingComments?: Array) => (line: string) => boolean; export declare const matchesSkip: (checkSkipComments?: Array) => (line: string) => boolean; export declare const getMarkdownHeaders: (lines: Array, maxHeaderLevel: number | undefined) => Array
; export declare const countHeaders: (headers: Array>, mode: string, moduleName: string | undefined) => Array; export declare const getLinesToToc: (lines: Array, currentToc: string | false, info: SectionInfo, processAll: boolean | undefined) => Array; export declare const getTitle: (title: string | undefined, lines: Array, info: SectionInfo, startSection: Array, matchesEnd: (line: string) => boolean) => string; export declare const transform: (content: string, options?: TransformOptions) => TransformResult; export default transform;