// Public surface of the map renderer module.

export {
	DEFAULT_HIT_SLOP_PX,
	KIND_ORDER,
	DARK_THEME,
	World,
	type Camera,
	type CirclePrim,
	type LinePrim,
	type PointPrim,
	type Primitive,
	type PrimitiveBase,
	type PrimitiveID,
	type PrimitiveKind,
	type Style,
	type Theme,
	type Viewport,
	type WrapMode,
} from "./world";

export {
	clamp,
	distSqPointToSegment,
	screenToWorld,
	torusShortestDelta,
	worldToScreen,
} from "./math";

export {
	clampCameraNoWrap,
	minScaleNoWrap,
	pivotZoom,
} from "./no-wrap";

export { wrapCameraTorus } from "./torus";

export { hitTest, type Hit } from "./hit-test";

export {
	createRenderer,
	type RendererHandle,
	type RendererOptions,
	type RendererPreference,
} from "./render";

export { sampleWorld } from "./fixtures";
