/** * MLB-specific types for fantasy baseball * @module */ /** * Roster positions */ export type RosterPosition = 'C' | '1B' | '2B' | '3B' | 'SS' | 'OF' | 'UTIL' | 'SP' | 'RP' | 'P' | 'BN' | 'IL'; /** * Player positions */ export type PlayerPosition = string; /** * Position type for roster requirements */ export type PositionType = string; /** * Player injury status */ export type InjuryStatus = string; /** * Stat IDs used by Yahoo */ export type StatId = keyof typeof StatIdMap; export type StatName = (typeof StatIdMap)[keyof typeof StatIdMap]['name']; export type StatAbbrev = (typeof StatIdMap)[keyof typeof StatIdMap]['abbrev']; /** * Mapping of stat IDs to their names and abbreviations */ export declare const StatIdMap: { readonly 0: { readonly name: 'StatName'; readonly abbrev: 'StatAbbrev'; }; }; export declare const StatEnum: Record<"StatAbbrev" | "StatName", number>; export declare const TeamKeyMappings: { teamKey: string; teamFullName: string; teamAbbr: string; }[]; //# sourceMappingURL=mlb.d.ts.map