/** @jsxImportSource @opentui/react */ /** * Single pager body row: markdown, file-diff, or plain + search highlights. */ import type { ReactNode } from "react"; import type { Theme } from "../../../ui-core/rendering/theme.js"; import { type PagerMatch } from "../../../ui-core/state/pager-search.js"; import { emptyCarry } from "../../../ui-core/rendering/syntax-highlight.js"; import type { PagerDisplayLine } from "../../rendering/pager-markdown.js"; /** Base fg for a non-match body line (path/header cues, plan sections). */ export declare function baseLineFg(line: string, theme: Theme): string; export declare function parseDiffLine(line: string): { gutter: string; prefix: string; code: string; tone: "add" | "del" | "context" | "header"; } | null; /** Strip gutters from a full pager body for clipboard copy. */ export declare function bodyOnlyForCopy(full: string): string; export declare function PagerLine(props: { line: string; index: number; theme: Theme; matches: readonly PagerMatch[]; activeMatchIndex: number; hasQuery: boolean; highlightPath: string; carry: ReturnType; styled?: PagerDisplayLine["styled"]; markdownMode?: boolean | undefined; }): ReactNode;