import type { IPackageJson } from '@rushstack/node-core-library';
import { PackageJsonEditor } from './PackageJsonEditor';
export interface IFromObjectOptions {
    object: IPackageJson;
    filename: string;
    onSaved?: (newObject: IPackageJson) => void;
}
export declare class SaveCallbackPackageJsonEditor extends PackageJsonEditor {
    private readonly _onSaved;
    private constructor();
    static fromObjectWithCallback(options: IFromObjectOptions): SaveCallbackPackageJsonEditor;
    saveIfModifiedAsync(): Promise<boolean>;
}
//# sourceMappingURL=SaveCallbackPackageJsonEditor.d.ts.map