/** * AUTO-GENERATED - DO NOT EDIT * Magical Search Index System * Generated by scripts/generate-meta-search-index.mjs * * This file contains lightweight entity metadata for search and discovery, * including parent-child relationships and comprehensive entity coverage. */ /** * Summary interface for search index entries */ export interface Summary { readonly id: string; readonly slug: string; readonly name: string; readonly shortName: string; readonly type: string; readonly subtype: string; readonly faction: string | null; readonly tier: string | null; readonly hotkey: string | null; readonly inGame: boolean; readonly uuid: string | null; readonly hasLore: boolean; readonly src: string | null; readonly tags: string[]; readonly children: string[]; readonly isChildOf: string | null; readonly childCollection: string | null; readonly childName: string | null; } /** * Search index data structure */ export interface SearchIndexData { all: Record; bySlug: Record; byUUID: Record; byChildSlugs: Record; ids: Record; } /** * Utility functions for search index access */ export declare function getSearchIndex(): SearchIndexData; export declare function getIndexedEntities(): Summary[]; declare const _default: { getSearchIndex(): SearchIndexData; getIndexedEntities(): Summary[]; getIndexMetadata(): { entityCount: number; slugCount: number; uuidCount: number; childSlugCount: number; }; data: SearchIndexData; }; export default _default; export declare function getIndexMetadata(): { entityCount: number; slugCount: number; uuidCount: number; childSlugCount: number; idCount: number; childCount: number; parentCount: number; allIds: string[]; }; export declare function findEntityInIndex(id: string): Summary | undefined; export declare function getEntityBySlug(slug: string): Summary | undefined; export declare function getEntityByUUID(uuid: string): Summary | undefined; export declare function getChildEntitiesBySlug(slug: string): Summary[]; export declare function getEntitiesByType(type: string): Summary[]; export declare function getEntitiesByFaction(faction: string): Summary[]; export declare function getEntityChildren(entityId: string): Summary[]; export declare function getEntityParent(entityId: string): Summary | undefined; export declare function getChildEntities(): Summary[]; export declare function getParentEntities(): Summary[]; export declare function getEntitiesByTag(tag: string): Summary[]; export declare function getAllTags(): string[]; export declare function getTaggedMapping(): Record; //# sourceMappingURL=search-index.d.ts.map