OptionalsearchFrom: stringDirectory to start from. Defaults to process.cwd().
Optionaloptions: { searchStrategy?: MJConfigSearchStrategy }OptionalsearchStrategy?: MJConfigSearchStrategycosmiconfig's search strategy. Defaults to 'global' (walk up
to the home directory — what MJAPI, the mj CLI and CodeGen do). A host whose own config
loader only looks in the working directory should pass 'none' so the packages it loads come
from the same file its database settings came from.
Discovers
mj.config.cjswith cosmiconfig (module namemj) and returns the RAW object plus its path. Hosts whose own config loader Zod-stripsdynamicPackagesuse this to hand the loader an unstripped view.