import { API } from './api'; /** * Provides methods for interacting with car-related endpoints. */ export declare class CarAPI extends API { /** * Get car assets, including images and details. * * Note: Image paths in the response are relative to `https://images-static.iracing.com/`. * * @returns A promise resolving to the car assets data, or undefined on error. */ getCarAssets: () => Promise | undefined>; /** * Get a list of all available cars. * * @returns A promise resolving to an array of car objects, or undefined on error. */ getCars: () => Promise<{ created: string; aiEnabled: boolean; allowNumberColors: boolean; allowNumberFont: boolean; allowSponsor1: boolean; allowSponsor2: boolean; allowWheelColor: boolean; awardExempt: boolean; carDirpath: string; carId: number; carName: string; carNameAbbreviated: string; carTypes: { carType: string; }[]; carWeight: number; categories: ("dirt_oval" | "dirt_road" | "formula_car" | "oval" | "sports_car")[]; firstSale: string; freeWithSubscription: boolean; hasHeadlights: boolean; hasMultipleDryTireTypes: boolean; hasRainCapableTireTypes: boolean; hp: number; isPsPurchasable: boolean; maxPowerAdjustPct: number; maxWeightPenaltyKg: number; minPowerAdjustPct: number; packageId: number; patterns: number; price: number; rainEnabled: boolean; retired: boolean; searchFilters: string; sku: number; carMake?: string | null | undefined; carModel?: string | null | undefined; forumUrl?: string | null | undefined; paintRules?: ({ restrictCustomPaint?: boolean | null | undefined; } & Record) | null | undefined; priceDisplay?: string | null | undefined; siteUrl?: string | null | undefined; }[] | undefined>; }