import type { SourceLocation } from "../types/base.js";
export type SourceMapLocation = {
    line: number;
    col: number;
};
export type SourceMap = Record<string, Record<string, SourceMapLocation>>;
export declare class SourceMapBuilder {
    private currentKey;
    private map;
    enterScope(moduleId: string, scopeName: string): void;
    record(subStepPath: number[], loc: SourceLocation | undefined): void;
    build(): SourceMap;
}
