/** Helpers for agent configs in API format (snake_case JSON). */ export type WireObject = Record; export declare function isObject(value: unknown): value is WireObject; /** The value at `path`, or `undefined` if any step is missing. */ export declare function getPath(target: unknown, path: string[]): unknown; /** Sets the value at `path`, creating objects along the way. `undefined` deletes the key. */ export declare function setPath(target: WireObject, path: string[], value: unknown): void; /** * Merges `source` into `target`: objects merge key by key, anything else (arrays included) replaces. Only own keys are * followed, and keys that could reach a prototype are skipped, so untrusted config can't pollute `Object.prototype`. */ export declare function deepMerge(target: WireObject, source: WireObject): WireObject; /** Whether every value in `local` is in `remote` at the same place. Extra keys in `remote` (server defaults) are fine. */ export declare function isSubset(local: unknown, remote: unknown): boolean;