import { IUpdateCheck } from "./update-check";
export interface IMapping {
    jcrPath: number;
    filePath: number;
    line: number;
    column: number;
}
export interface ISourceFileReference {
    jcrPath?: string;
    absoluteFilePath?: string;
    relativeFilePath?: string;
    line?: number;
    column?: number;
}
export declare function getRef(message: string, pattern: RegExp, jcrContentRoots: string[], mapping?: IMapping): ISourceFileReference | undefined;
export declare function getLocalSourceLine({ absoluteFilePath, relativeFilePath, line, column }: ISourceFileReference): string | undefined;
export declare function formatMessage(ref: ISourceFileReference | undefined): string | undefined;
export declare function formatUpdateMessage(update?: IUpdateCheck): string | undefined;
export declare function setFilePath(ref: ISourceFileReference, jcrContentRoots: string[]): ISourceFileReference;
