import { PlayerState } from './protocol/index.js'; import { AmmoItemId, AmmoType, WeaponId } from './items/index.js'; export declare const AMMO_ITEM_MAP: Record; /** * Retrieves the ammo count for a given item (Weapon or Ammo). * @param playerState The current player state. * @param item The item identifier (WeaponId or AmmoItemId). * @returns The ammo count, or 0 if not found/applicable. Returns -1 for infinite ammo (e.g. Blaster). */ export declare function getAmmoCount(playerState: PlayerState, item: WeaponId | AmmoItemId): number; /** * Resolves the icon path for a given stat index (e.g. STAT_SELECTED_ICON). * @param statIndex The index in the stats array to read (e.g. PlayerStat.STAT_SELECTED_ICON). * @param playerState The player state containing the stats. * @param configStrings The array of configuration strings (from client state). * @returns The path to the icon image, or undefined if invalid. */ export declare function getIconPath(statIndex: number, playerState: PlayerState, configStrings: string[]): string | undefined; //# sourceMappingURL=inventory-helpers.d.ts.map