import { LineNo, TemplatePositionStr } from "../types";
export declare function formatLineNo(start: number, end: number): LineNo;
export declare function parseLineNo(s: LineNo | undefined | null): {
    start: number;
    end: number;
};
export declare const EMPTY_LINE_NO: LineNo;
export declare function formatTemplatePosition(startLine: number, startCol: number, endLine: number, endCol: number): TemplatePositionStr;
export declare function formatTemplatePositionQuad(q: readonly [
    number,
    number,
    number,
    number
]): TemplatePositionStr;
export declare function parseTemplatePosition(s: string | undefined | null): {
    startLine: number;
    startCol: number;
    endLine: number;
    endCol: number;
} | null;
