import type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation'; /** * Builds a mapping from model names to their sidebar entry IDs. * * The map powers the `scroll-to:model-by-name` navigation used by model-name links * (for example the `Satellite[]` link next to a property type, or a request-body model name). * * Model entries do not always live under the top-level `models` group: a component schema with an * `x-tags` extension is placed under its tag group instead. To keep those links working we walk the * whole navigation tree and collect every `type === 'model'` entry, wherever it lives. * * @see https://github.com/scalar/scalar/issues/9854 */ export declare const buildModelsIndex: (entries: TraversedEntry[]) => Record; //# sourceMappingURL=build-models-index.d.ts.map