import type { GitFileDiff } from "@opengeni/sdk"; import { type ReactNode } from "react"; export type PierreDiffProps = { diff: GitFileDiff[]; layout?: "unified" | "split" | undefined; themeType?: "dark" | "light" | undefined; /** Shiki bundled theme names (dark/light) — derived from the host palette. */ theme?: { dark: string; light: string; } | undefined; /** Disable Pierre's worker pool if its worker bundling fights the host bundler. */ disableWorkerPool?: boolean | undefined; /** Rendered while the (lazy) Pierre bundle loads. */ loading?: ReactNode | undefined; /** Rendered if `@pierre/diffs/react` is not installed / fails to import. */ fallback?: ReactNode | undefined; /** Skip the Shiki renderer entirely and show the plain-text degrade (the old * `usePierre={false}` path — one renderer, opted out of highlighting). */ plain?: boolean | undefined; /** Long-line handling: `"wrap"` soft-wraps (the default — a diff in a narrow * dock pane should be readable without a horizontal-scroll tax), `"scroll"` * keeps lines on one row behind a horizontal scrollbar (better for a wide * viewport or pathological minified lines). */ overflow?: "wrap" | "scroll" | undefined; className?: string | undefined; }; /** * The Pierre-backed diff: Shiki-highlighted, virtualized, unified/split. Renders * one `PatchDiff` per changed file (a reconstructed unified patch from the * `GitFileDiff` hunks). The ONE workbench diff renderer; a host without * `@pierre/diffs` gets the built-in plain-text degrade (`PlainPatch`). */ export declare function PierreDiff({ diff, layout, themeType, theme, disableWorkerPool, loading, fallback, plain, overflow, className, }: PierreDiffProps): import("react").JSX.Element;