import type { TextlintRuleErrorDetails } from "@textlint/types";
import { AnyTxtNode } from "@textlint/ast-node-types";
export declare class SourceLocation {
    private text;
    private _source;
    constructor(text: string);
    private get source();
    toAbsoluteLocation(node: AnyTxtNode, padding: TextlintRuleErrorDetails): number;
}
