export declare function getLineEnd(source: string, offset: number): number;