export declare enum Change {
    unmodified = "unmodified",
    added = "added",
    removed = "removed",
    modified = "modified"
}
export interface UnmodifiedLine {
    type: Change.unmodified;
    /**
     * The preserved line content.
     */
    line: string;
}
export interface AddedLine {
    type: Change.added;
    /**
     * The added line content.
     */
    line: string;
}
export interface RemovedLine {
    type: Change.removed;
    /**
     * The removed line content.
     */
    line: string;
}
export interface ModifiedLine {
    type: Change.modified;
    original: string;
    modified: string;
}
export type LineChange = UnmodifiedLine | AddedLine | RemovedLine | ModifiedLine;
export type Diff = LineChange[];
export declare function diff(original: string, modified: string): Diff;
export declare function prettyDiff(diff: Diff): Generator<string, any, unknown>;
