ReadonlyasyncReadonlyforceReadonlynameProtectedbuildOptionaldeleteThe key deleted.
Optional hook to format validation errors.
The array of errors from TypeBox/Value.
A formatted string or undefined to use default formatting.
Loads the configuration from the source.
The schema definition.
The loaded configuration object.
ProtectedmergeSaves the configuration to the source.
The full configuration object.
Optionaloptions: { description?: string; path?: string }Optional metadata for the save operation (e.g. description for a specific update).
Locked read-modify-write: reads the current persisted config, passes it
to fn, and atomically writes the result — all under one lock, so
concurrent processes cannot lose updates.
OptionalupdateOptional hook for updates. Use this ONLY if the driver handles atomic updates and doesn't need the full object every time. If implemented, Kfg.set() will call this INSTEAD of save().
The key updated (dot notation).
The new value.
Optionaldescription: string
Optional hook for deletion. Use this ONLY if the driver handles atomic deletion. If implemented, Kfg.del() will call this INSTEAD of save().