import { type AxialCoord, type HexCell } from "./hex.ts"; import { type TopologyBoundary, type TopologyBoundaryDefinition } from "./topologyBoundary.ts"; import type { TopologyNodeOperationalState } from "./nodeStatus.ts"; export interface TopologyEntity extends AxialCoord { id: string; label: string; subtitle?: string; image?: string; imageOffsetY?: number; type?: "anchor" | "section" | "entity" | "data"; status?: TopologyNodeOperationalState | string; } export interface TopologyRelationship { from: string; to: string; kind?: string; active?: boolean; muted?: boolean; } export interface TopologyModelOptions { radius: number; columns: number; rows: number; originQ?: number; originR?: number; entities?: TopologyEntity[]; relationships?: TopologyRelationship[]; boundary?: TopologyBoundaryDefinition | null; } export declare class TopologyModel { radius: number; columns: number; rows: number; originQ: number; originR: number; cells: HexCell[]; entities: TopologyEntity[]; relationships: TopologyRelationship[]; boundary: TopologyBoundaryDefinition | null; constructor(options: TopologyModelOptions); getCell(coord: AxialCoord): HexCell | undefined; getEntity(id: string): TopologyEntity | undefined; getEntityPosition(id: string): import("./hex.ts").PixelCoordinate | null; getRelationshipsForEntity(id: string): TopologyRelationship[]; getBoundary(entityId: string): TopologyBoundary | null; sameBoundary(fromId: string, toId: string): boolean; getPathBetweenEntities(fromId: string, toId: string): AxialCoord[]; getDistanceBetweenEntities(fromId: string, toId: string): number | null; getRing(center: AxialCoord, distance: number): AxialCoord[]; getSpiral(center: AxialCoord, radius: number): AxialCoord[]; } //# sourceMappingURL=TopologyModel.d.ts.map