import { Group, Player, Position, Position2D, Vehicle } from "@sa-mp/core"; import { StreamerItem, DynamicArea, StreamerAreaTypes, DynamicObject } from ".."; export interface DynamicAreaAttachOptions { offset: Position; } export declare class DynamicAreaFunctions { id: number; static getById(id: number): DynamicArea; static isValid(area: DynamicArea): boolean; static isAnyPlayerInAny(recheck?: number): boolean; static isPointInAny({ x, y, z }: Position): boolean; static isLineInAny([{ x: x1, y: y1, z: z1 }, { x: x2, y: y2, z: z2 }]: [Position, Position]): boolean; static getForPoint({ x, y, z }: Position, max: number): Group; static getNumberForPoint({ x, y, z }: Position): number; static getForLine([{ x: x1, y: y1, z: z1 }, { x: x2, y: y2, z: z2 }]: [Position, Position], max: number): Group; static getNumberForLine([{ x: x1, y: y1, z: z1 }, { x: x2, y: y2, z: z2 }]: [Position, Position]): number; static destroyAll(): void; static get count(): number; protected constructor(id?: number); destroy(): void; get type(): StreamerAreaTypes; getPolygonPoints(max: number): Position2D[]; getPolygonNumberPoints(): number; isAnyPlayer(recheck?: number): boolean; isPoint({ x, y, z }: Position): boolean; isLine([{ x: x1, y: y1, z: z1 }, { x: x2, y: y2, z: z2 }]: [Position, Position]): boolean; attach(attached: DynamicObject | Player | Vehicle, options?: DynamicAreaAttachOptions): void; toggleSpectateMode(toggle: boolean): void; isToggleSpectateMode(): boolean; get item(): StreamerItem; is(area: DynamicArea): boolean; }