import { getDefaultOptions as o } from "./Options.js";
const r = (n) => {
  const e = o(n), a = e.name !== void 0 ? [...e.basePath, e.definitionPath, e.name] : e.basePath;
  return {
    ...e,
    currentPath: a,
    propertyPath: void 0,
    seen: new Map(Object.entries(e.definitions).map(([i, t]) => [
      t._def,
      {
        def: t._def,
        path: [...e.basePath, e.definitionPath, i],
        // Resolution of references will be forced even though seen, so it's ok that the schema is undefined here for now.
        jsonSchema: void 0
      }
    ]))
  };
};
export {
  r as getRefs
};
//# sourceMappingURL=Refs.js.map
