import type { Config } from "./config-types.js"; /** Paths whose candidate values cannot be applied without rebuilding startup-owned state. */ export declare function configReloadRestartPaths(live: Config, candidate: Config): string[]; /** Effective reloadable paths that changed, excluding load metadata such as mtime/warnings. */ export declare function configReloadChangedPaths(live: Config, candidate: Config): string[]; export type ConfigReloadApplyResult = { ok: true; changed: string[]; } | { ok: false; requiresRestart: string[]; }; /** Result returned by the daemon's injected reload transaction to the HTTP adapter. */ export type ConfigReloadAttemptResult = { ok: true; changed: string[]; warnings: string[]; } | { ok: false; status: 400; message: string; } | { ok: false; status: 409; message: string; requiresRestart: string[]; }; /** * Atomically apply a normalized candidate to the existing Config identity. * * This function performs no I/O and has no await point. All refusal checks happen before the * first mutation, so a restart-only difference cannot partially apply reloadable siblings. */ export declare function applyConfigReload(live: Config, candidate: Config): ConfigReloadApplyResult;