export type MarkdownFenceChar = '`' | '~'; export interface MarkdownFenceState { readonly char: MarkdownFenceChar; readonly length: number; } export interface MarkdownVisibilityState { readonly fence: MarkdownFenceState | null; readonly commentDepth: number; } export type MarkdownScanState = 'normal' | 'fenced' | 'indented-code' | 'comment'; export interface MarkdownLineInspection { readonly scanState: MarkdownScanState; readonly visibleText: string; readonly nextState: MarkdownVisibilityState; } export declare const INITIAL_MARKDOWN_VISIBILITY_STATE: MarkdownVisibilityState; export declare function isIndentedMarkdownCodeLine(line: string): boolean; export declare function inspectMarkdownLine(state: MarkdownVisibilityState, line: string): MarkdownLineInspection; export declare function collectMarkdownVisibleMatches(content: string, pattern: RegExp): RegExpMatchArray[]; //# sourceMappingURL=markdown-structure.d.ts.map