export interface Diagnostic { start: Location; end: Location; message: string; operation: Operation; insertText: string; deleteText: string; } export declare enum Operation { Delete = 0, Insert = 1, Replace = 2 } export interface Location { /** 1-based */ line: number; /** 1-based */ column: number; /** 0-based */ offset: number; } export declare function diagnose(input: string, output: string): Diagnostic[];