export interface IDocument { insert: (value: string, position?: number) => void; getLine: (lineNo: number) => string; getCharAt: (pos: number) => string; raw: T; last: string; value: string; } type Document = string; type LineByLineDocState = string[]; export declare class LineByLineDocument implements IDocument { private fileLines; constructor(document?: Document); private process; private unProcess; get raw(): LineByLineDocState; insert(value: string, position?: number): this; getLine(lineNo: number): string; get last(): string; get value(): string; getCharAt(position: number): string; } export {};