import { type Position, SourceMapGenerator } from "source-map";
import type { AsyncFunctionConstructor } from "./types.js";
export declare function attachFunctionSourceMap(...args: Parameters<typeof generateFunctionSourceMap>): string;
export declare function attachSourceMap(...args: Parameters<typeof generateSourceMap>): string;
export declare function generateFunctionSourceMap(ctor: AsyncFunctionConstructor | FunctionConstructor, script: string, options?: Omit<NonNullable<Parameters<typeof generateSourceMap>[1]>, "offset">): SourceMapGenerator;
export declare function generateSourceMap(script: string, options?: {
    readonly source?: string;
    readonly file?: string;
    readonly sourceRoot?: string;
    readonly deletions?: readonly Position[];
    readonly offset?: Position;
}): SourceMapGenerator;
//# sourceMappingURL=source-maps.d.ts.map