import type { DiffHunk } from "./types";
/** Props for {@link DiffViewer}. */
export interface DiffViewerProps {
    /** Hunks to render — output of `computeDiff()`. */
    readonly hunks: readonly DiffHunk[];
    /** File path displayed in the header. */
    readonly filePath?: string;
    /** Additional CSS classes for the root container. */
    readonly className?: string;
}
/**
 * Generic unified diff renderer for a single file.
 *
 * Renders a unified diff with line numbers, `+`/`-` prefix indicators,
 * and hunk separator headers. Uses `--stgm-diff-*` design tokens for
 * all colors — respects light/dark mode and preset overrides.
 *
 * Accessibility: uses a `<table>` with proper column headers, `+`/`-`
 * text indicators alongside color (color is never the sole channel),
 * and ARIA labels on change lines for screen readers.
 *
 * Zero Console dependencies — safe for platform builder embedding.
 *
 * @example
 * ```tsx
 * const hunks = computeDiff(oldText, newText);
 * <DiffViewer hunks={hunks} filePath="SKILL.md" />
 * ```
 */
export declare function DiffViewer({ hunks, filePath, className }: DiffViewerProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=DiffViewer.d.ts.map