import { type CityDem, type CitySourceDraft, type RoadEdge, type RoadGraph, type RoadNode, type Vec2 } from '../source'; export declare class Gallery { readonly nodes: RoadNode[]; readonly edges: RoadEdge[]; private readonly byKey; private edgeNo; node(key: string, p: Vec2, extra?: Partial): RoadNode; edge(a: RoadNode, b: RoadNode, props: Partial & Pick & { via?: Vec2[]; }): RoadEdge; graph(): RoadGraph; } /** A point `len` metres from `c` in compass-style plan angle: 0 = east, 90 = north (-z), counter-clockwise seen from above. */ export declare const polar: (c: Vec2, deg: number, len: number) => Vec2; declare function height(x: number, z: number): number; export declare function makeDem(fn?: (x: number, z: number) => number, samples?: number, note?: string): CityDem; export declare function buildRoadGalleryFixture(): CitySourceDraft; export { height as roadGalleryHeight }; /** * Four 1 km cells' worth of road: a four-way whose centre sits exactly on the corner shared by all four cells, a diagonal * avenue that crosses both cell borders, and a bridge over a valley that straddles the x = 1,024 border. The seam tests * check that neighbouring cells agree on every vertex along a shared border. */ export declare function buildRoadSeamFixture(): CitySourceDraft;