ReadonlyasyncReadonlyforceReadonlynameProtectedbuildThe 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 against the .env file: re-reads the file fresh,
merges with process.env + defaults, hands it to fn, then writes every
resulting key back — all under one lock, so concurrent writers can't lose
updates.
Optional 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().