import * as monaco from 'monaco-editor';
/**
 * Expands a given range to cover whole lines within a Monaco editor model.
 *
 * Given a text model and an input range, this function calculates the smallest
 * and largest lines touched by the range and returns a new range that starts at
 * the beginning of the first touched line and ends at the end of the last touched line.
 *
 * @param model The Monaco editor text model.
 * @param range The Monaco Range to expand.
 * @returns A new Monaco Range covering the whole lines spanned by the given range.
 */
export declare const rangeToWholeLine: (model: monaco.editor.ITextModel, range: monaco.Range) => monaco.Range;
//# sourceMappingURL=range-to-whole-line.d.ts.map