export interface Position { line: number; column: number; offset: number; } export declare function countCharUntil(text: string, end: number, char: string): { count: number; lastPos: number; }; export declare function getPosition(text: string, pos: number): Position;