/** * Shared fixtures for the suites that sweep **every** registry endpoint * (`queryResponseSchemas.test.ts`, `resultFormat.test.ts`). * * Both need the same three things: a collector config, a scene proxy so the * `scene_representation` resource has something to return, and the rule for * turning a registry `endpoint.path` into a request URL. Keeping them here means * a new endpoint that needs a required parameter is taught about once. * * Not a test file — the filename has no `.test.` segment, so Vitest does not * collect it. */ import type { MetricDefinition } from "@uptimizr/metrics"; import type { CollectorConfig } from "../../config.js"; /** A collector config with every gate open and every secret a test secret. */ export declare const TEST_CONFIG: CollectorConfig; /** Fixture scene proxy, so the `scene_representation` resource has a hit. */ export declare const TEST_PROXY: { version: 1; sceneId: string; kind: "aabb"; bounds: [number, number, number, number, number, number]; upAxis: "y"; unitScale: number; meshes: { name: string; aabb: [number, number, number, number, number, number]; }[]; meshCount: number; contentHash: string; capturedAt: number; }; /** Path params every registry endpoint that declares one can be satisfied with. */ export declare const PATH_PARAM_VALUES: Readonly>; /** * Query parameters an endpoint needs beyond the shared range. Only the genuinely * required ones: `mesh` for the per-mesh UV heatmap, `steps` for the funnel and * `metric` for the baseline. */ export declare const REQUIRED_QUERY: Readonly>>; /** The two resource reads, which legitimately 404 when nothing is registered. */ export declare const RESOURCE_METRICS: ReadonlySet; /** * Fill a registry path's `:params` and append the query string for a request. * `extra` adds (or overrides) query parameters — `format`, for instance. */ export declare function requestUrl(metric: MetricDefinition, extra?: Readonly>): string; //# sourceMappingURL=registryRequests.d.ts.map