export interface ParsedLine { line: string; sepStart: number; valueStart: number; } export declare function rawParse(str: string, consumeFn: (res: ParsedLine) => void): void; export declare function rawParseLine(line: string): ParsedLine; export declare function decodeLine(line: string): string; export declare function encodeLine(line: string, isKey?: boolean): string; /** * @deprecated Use {@link #decodeLine}. */ export declare const convertLine: typeof decodeLine; export declare class LineReader { readonly str: string; readonly strLen: number; pos: number; constructor(str: string); readLine(): string; }