import { t as __name } from "./rolldown-runtime-C0LytTxp.mjs"; //#region src/Types.d.ts type Rarity = 'Common' | 'Legendary' | 'Rare' | 'Uncommon'; interface TitaniaRelic { /** * Drop Locations for the relics */ locations: TitaniaRelicLocation[]; /** * Relic Combined Name (Ex: Axi A1) */ name: string; /** * Relic Rewards when opened */ rewards: TitaniaRelicReward[]; /** unique name for corresponding warframe-items Item */ uniqueName: string; /** * Relic Vault Information */ vaultInfo: TitaniaRelicVaultedInfo; /** * Warframe Market Information * undefined for untradable */ warframeMarket?: TitaniaWFMInfo; } interface TitaniaRelicLocation { /** * Dropchance in % */ chance: number; /** Location Info $planet-$node (Ex: Eris - Phalan) */ location: string; /** * Rarity (Uncommon, Rare ?) */ rarity: Rarity; } interface TitaniaRelicReward { /** * Reward Drop Chance in % */ chance: number; /** * Item Information */ item: TitaniaRelicRewardItem; /** * Relic Rarity (Uncommon,Rare ?) */ rarity: 'Rare' | 'Uncommon'; } interface TitaniaRelicRewardItem { /** * Item Name */ name: string; /** unique name for corresponding warframe-items Item */ uniqueName: string; /** * WarframeMarket Info */ warframeMarket?: TitaniaWFMInfo; } interface TitaniaRelicVaultedInfo { /** * If the relic is vaulted */ vaulted: boolean; } interface TitaniaWFMInfo { /** * Warframe Market ID */ id: string; /** * Warframe market URL parameter */ urlName: string; } interface WarframeMarketItem { /** * Unique reference name (Lotus path) */ gameRef: string; /** * WFM language object */ i18n: { /** * English language object */ en: { /** * Item Name */ name: string; /** * Thumbnail URL relative to wfm api base */ thumb: string; }; }; /** * WFM Item ID */ id: string; /** * Url name for querying WFM */ slug: string; } interface WarframeMarketRoot { data: WarframeMarketItem[]; } interface WFCDItem { /** * Item Drop Location */ drops?: WFCDItemDropLocation[]; /** * Item Name */ name: string; /** Unique identifying name */ uniqueName: string; } interface WFCDItemDropLocation { /** * Dropchance in % */ chance: number; /** * Mission location */ location: string; /** * Drop rarity */ rarity: string; /** * Relic Type */ type: string; } interface WFCDRelic { /** * Internal WFCD id */ _id: string; /** * Relic Name (A1, A10, etc.) */ relicName: string; /** * Relic Rewards */ rewards: WFCDRelicReward[]; /** * Relic Refinement state */ state: 'Exceptional' | 'Flawless' | 'Intact' | 'Radiant'; /** * Relic Tier (Axi, Neo, etc.) */ tier: string; } interface WFCDRelicReward { /** * Internal ID */ _id: string; /** * Actual Dropchance in % */ chance: number; /** * Dropped Item name */ itemName: string; /** * Dropchance Rarity (Uncommon/Rare ?) */ rarity: 'Rare' | 'Uncommon'; } interface WFCDSparseComponent { name: string; uniqueName: string; } /** Sparse warframestat item (name + uniqueName, optional components) */ interface WFCDSparseItem { components?: WFCDSparseComponent[]; name: string; uniqueName: string; } //#endregion //#region src/Generator.d.ts declare class Generator { /** Lowercase item name → uniqueName from sparse warframestat index (+ Blueprint follow-ups) */ itemUniqueNames: Map; relics: TitaniaRelic[]; relicsRaw: undefined | WFCDRelic[]; wfcdItems: undefined | WFCDItem[]; wfmItems: undefined | WarframeMarketRoot; constructor(); /** * Fetches all required data from WFCD and WFM. */ fetchRawData(): Promise; /** * Main function to fetch and generate the relic data * @returns {Promise>} The Relics data array */ generate(): Promise; /** * Generates the relic data * uses WFCD/warframe-drop-data to check what relics exist, * and adds information from WFCD/warframe-items and WFM */ generateTitaniaRelics(): void; /** * Writes the fully generated data to disk. * @param {string} dataDir Directory to store the relic data in. Default: ../data/ * @param {string} fileName Filename base ex: "Relics" becomes "Relics.json" and "Relics.min.json". Default: "Relics" * @param {boolean} generateMin True if a minified json should be generated too. Default: true */ writeData(dataDir?: string, fileName?: string, generateMin?: boolean): Promise; /** * Fetch a single warframestat item by name with components for Blueprint resolution. * @param {string} name Item display name * @returns {Promise} Item or undefined on failure */ private fetchItemByName; /** * Filters WFCD's relic data to only include Intact variants, since we just need the base. */ private filterWFCDRelics; /** * Generates a single relic from all available data * @param {WFCDRelic} rawRelic relic to pull Titania data from * @returns {TitaniaRelicReward} */ private generateTitaniaRelic; /** * Index sparse warframestat items by lowercase name, preferring /Lotus/Types/ paths. * @param {Array} items Sparse item list from warframestat */ private indexSparseItems; /** * For reward names missing WFM, resolve uniqueNames from sparse index. * Blueprint-suffixed names need a parent item fetch for the Blueprint component. */ private resolveSpecialRewardUniqueNames; } //#endregion //#region src/VersionManager.d.ts declare class VersionManager { hashPath: string; versionPath: string; versionRawPath: string; /** * Creates a new VersionManager instance. * @param {string} dataDir Folder to write version information to. * @constructor */ constructor(dataDir?: string); /** * Checks if the current data needs an update */ updateNeeded(): Promise; /** * Writes both game and drop version metadata * @param {number} timestamp Timestamp the build was started at */ writeVersion(timestamp: number): Promise; } //#endregion export { Generator, Rarity, TitaniaRelic, TitaniaRelicLocation, TitaniaRelicReward, TitaniaRelicRewardItem, TitaniaRelicVaultedInfo, TitaniaWFMInfo, VersionManager, WFCDItem, WFCDItemDropLocation, WFCDRelic, WFCDRelicReward, WFCDSparseComponent, WFCDSparseItem, WarframeMarketItem, WarframeMarketRoot };