export default interface Extended { hashes: { [key in ModGroup]?: Hash[]; }; mods: { [key in ModGroup]?: Mod[]; }; } export interface Mod { magnitudes: Stat[]; name: string; tier?: string; } export interface Stat { hash: StatId; min: number; max: number; } export declare type Hash = [StatId, ModIndex[]]; export declare type StatId = string; /** * an index if Extended['mods'] */ export declare type ModIndex = number; export declare type ModGroup = 'explicit' | 'implicit'; export declare const isPrefix: (mod: Mod) => boolean; export declare const isSuffix: (mod: Mod) => boolean;