import { BigNumber } from "ethers"; import { DateTime } from "luxon"; export declare const visualGenesMap: { [index: number]: string; }; export declare function convertGenes(_genes: BigNumber, genesMap: { [index: number]: string; }): { [index: string]: any; }; export declare const calculateRequiredXp: (level: number) => any; export declare const RARITY_COMMON = "common"; export declare const RARITY_UNCOMMON = "uncommon"; export declare const RARITY_RARE = "rare"; export declare const RARITY_LEGENDARY = "legendary"; export declare const RARITY_MYTHIC = "mythic"; export declare const RARITY_COLORS: any; export declare const RARITY_LEVELS: string[]; export declare const calculateCurrentAuctionPrice: (startingPrice: number, endingPrice: number, startedAt: any, duration: number) => number; /** * Returns a hero object the way the game likes it. */ export default function buildHero(heroRaw: any, owner: any): { owner: { name: any; owner: any; }; background: any; class: any; subClass: any; classType: string; element: any; gender: any; generation: any; id: any; heroId: any; summonerId: any; assistantId: any; currentQuest: any; isQuesting: boolean; level: any; xp: any; firstName: string | undefined; lastName: string; name: string | undefined; rarity: string; rarityNum: any; shiny: any; shinyStyle: any; currentStamina: any; staminaFullAt: DateTime; summonedDate: DateTime; nextSummonTime: DateTime; summons: any; maxSummons: any; summonsRemaining: number; price: number; summoningPrice: number; pjstatus: null; pjlevel: null; winner: any; auction: { onAuction: boolean; startingPrice: number; endingPrice: number; startedAt: any; duration: any; }; stats: { strength: any; intelligence: any; wisdom: any; luck: any; agility: any; vitality: any; endurance: any; dexterity: any; hp: any; mp: any; stamina: any; }; visualGenes: { [index: string]: any; }; visual: { shiny: any; shinyStyle: any; }; statGrowth: { primary: { strength: any; intelligence: any; wisdom: any; luck: any; agility: any; vitality: any; endurance: any; dexterity: any; }; secondary: { strength: any; intelligence: any; wisdom: any; luck: any; agility: any; vitality: any; endurance: any; dexterity: any; }; }; statGenes: { [index: string]: any; }; skills: { mining: number; gardening: number; fishing: number; foraging: number; }; }; /** * Returns a hero object the way the game likes it from the graph. */ export declare function buildGraphHero(heroRaw: any, owner: any): { ownerName: any; ownerHash: any; ownerPortrait: any; background: any; class: any; subClass: any; classType: string; element: any; gender: any; generation: any; id: any; heroId: any; summonerId: any; assistantId: any; currentQuest: any; isQuesting: boolean; xp: any; level: any; firstName: string | undefined; lastName: string; name: string | undefined; rarity: string; rarityNum: any; shiny: any; shinyStyle: any; staminaFullAt: DateTime; summonedDate: DateTime; nextSummonTime: DateTime; summons: any; maxSummons: any; summonsRemaining: number; price: number; summoningPrice: number; winner: any; stats: { strength: any; intelligence: any; wisdom: any; luck: any; agility: any; vitality: any; endurance: any; dexterity: any; hp: any; mp: any; stamina: any; }; visualGenes: { [index: string]: any; }; visual: { shiny: any; shinyStyle: any; }; statGenes: { [index: string]: any; }; skills: { mining: number; gardening: number; fishing: number; foraging: number; }; }; export declare function buildLineageHero(hero?: any): any;