import { ModelBase } from './ModelBase'; import { WeaponState, WeaponType } from '../constants/enums'; export interface WeaponInput { name?: string; state?: string; type?: string; ammo_clip?: number; ammo_clip_max?: number; ammo_reserve?: number; } /** * Represents a player's weapon. */ export declare class Weapon extends ModelBase { readonly type: WeaponType; readonly displayName: string; readonly name: string; readonly state: WeaponState; readonly ammo_clip: number | null; readonly ammo_clip_max: number | null; readonly ammo_reserve: number | null; constructor(data: WeaponInput); isPrimary(): boolean; isSecondary(): boolean; isGrenade(): boolean; isMelee(): boolean; isC4(): boolean; isActive(): boolean; toSerializableObject(): WeaponInput; }