import { Vector3 } from '../types/Vector3'; import { int } from '../types/NativeAliases'; export declare class BaseModel { protected hash: number; constructor(hash: number); /** * Old name: _REQUEST_IMAP_2 */ requestIplByHash(): void; /** * Request a model to be loaded into streaming memory. You should make sure to check that the model exists with * * @param p1 The model to request */ requestModel(p1: boolean): void; /** * Old name: _IS_IMAP_ACTIVE_2 * * @returns */ get IsIplActiveByHash(): boolean; requestClipSetByHash(): void; /** * @returns */ hasNamedPtfxAssetLoaded(): boolean; /** * _SET_E* or _SET_F* */ N_0x032A14D082A9B269(): void; /** * Marks the model as no longer needed. * * @returns The instance for method chaining */ setModelAsNoLongerNeeded(): this; /** * @returns */ get IsModelAnObject(): boolean; /** * Old name: _REQUEST_IMAP */ requestIplHash(): void; /** * Returns whether the specified model is valid * * @returns */ get IsModelValid(): boolean; /** * Returns true if IPL is streamed in (?) * * @param pos * @returns */ isPositionInsideIplStreamingExtents(pos: Vector3): boolean; /** * Old name: _REMOVE_IMAP_2 */ removeIplByHash(): void; removeNamedPtfxAsset(): void; requestCollisionForModel(): void; /** * @param p1 * @param p2 * @param p3 * @returns */ requestScenarioType(p1: int, p2: any, p3: any): int; /** * @returns */ removeScenarioAsset(): any; /** * @returns */ hasCollisionForModelLoaded(): boolean; /** * @returns Returns `true` if the specified model has been loaded into streaming memory, `false` otherwise. */ hasModelLoaded(): boolean; /** * @param p1 * @returns */ hasScenarioTypeLoaded(p1: boolean): any; /** * Old name: _REMOVE_IMAP */ removeIplHash(): void; /** * @returns Returns whether the specified model exists in the game. */ get IsModelInCdimage(): boolean; requestNamedPtfxAsset(): void; /** * Outputs IPL position and radius (previously wrongly named heading) * https://github.com/femga/rdr3_discoveries/blob/master/imaps/imaps_with_coords_and_heading.lua * * @returns position; radius */ get IplBoundingSphere(): [any, Vector3, number]; /** * Old name: _IS_IMAP_ACTIVE * * @returns */ get IsIplActiveHash(): boolean; } //# sourceMappingURL=BaseModel.d.ts.map