/** * Strip file-diff / modal line gutters (` 12 │ ` / ` │ ± `) so format * mode can render real markdown instead of gutter-polluted source. * Leaves non-guttered lines unchanged (help, compact cards, tool dumps). * For fs.read `N: ` prefixes use {@link extractFsReadFileBody} instead. */ export declare function stripPagerLineGutters(body: string): string; /** * Extract clean markdown source from an fs.read tool dump for formatted * preview (chat card + pager). Strips: * - `# fs.read path=…` / `# hasMore=…` chrome headers/footers * - `N: ` line-number prefixes the tool adds for model navigation * - optional `Tool fs.read result (…):` wrappers */ export declare function extractFsReadFileBody(raw: string): string; /** * Conservative detector: only claim "markdown" when structure is clear. * Avoids mangling paths_with_underscores and shell output with * globs. */ export declare function looksLikeMarkdown(text: string): boolean;