import { JsonObject } from "@agimon-ai/doompi-core/runtime-json"; //#region src/builders/cli/projectSettings.d.ts /** * Reported by `sync --check` and `build`, and repaired by `sync`. * * Lives here rather than with either command because both report the same * finding about the same file, and the detector below is what decides it. */ export declare const DUPLICATE_REGISTRATION_DRIFT = "duplicate DoomPi registration in .pi/settings.json"; export declare function projectPiSettingsPath(repoRoot: string): string; /** Produces the project settings content for a reconciliation, without writing it. */ export declare function mergeProjectPiSettings(current: JsonObject, repoRoot: string, homeDirectory?: string): JsonObject; /** Reads Pi's project settings, or nothing when the repository declares none. */ export declare function readProjectPiSettings(repoRoot: string): JsonObject | undefined; export declare function serializeProjectPiSettings(settings: JsonObject): string; /** True when the repository still registers DoomPi alongside the user scope. */ export declare function projectRegistersDoom(repoRoot: string, homeDirectory?: string): boolean; /** * Reconciles the repository's Pi settings with the user-scope registration. * * The file is never created and never deleted, only rewritten: an absent one * means the repository registers nothing, and an existing one is a repository * root marker that other DoomPi code walks up to find. */ export declare function writeProjectPiSettings(repoRoot: string, homeDirectory?: string): string | undefined; //#endregion //# sourceMappingURL=projectSettings.d.cts.map