import * as react from 'react';
import { HTMLAttributes } from 'react';
interface DiffLine {
/** Diff content */
text: string;
/** Change type */
type: 'add' | 'remove' | 'context';
/** Line number in original */
oldLine?: number;
/** Line number in new */
newLine?: number;
}
interface ActionDiffProps extends HTMLAttributes {
/** Diff lines */
lines: DiffLine[];
/** File/label name */
label?: string;
/** View mode */
view?: 'unified' | 'side-by-side';
/** Whether the diff is loading */
loading?: boolean;
}
declare const ActionDiff: react.ForwardRefExoticComponent>;
export { ActionDiff, type ActionDiffProps, type DiffLine };