import { DepthPreviewLevels, type DepthManifest, type DepthMap } from "#types/depth-map"; export declare const DEPTH_MANIFEST_SCHEMA = "supervision.depth-manifest"; /** * Reads the snake_case `depth.json` a producer writes into a * {@link DepthManifest}, and rejects anything a renderer could not honour. * * Messages name the offending wire field, such as * `depth.json: storage.scale must be a positive number`. Unknown fields are * ignored so newer producers stay readable. */ export declare function parseDepthManifest(json: unknown): DepthManifest; /** * Expands a clip frame pattern for one frame index: `{index}` becomes the * plain number and `{index:06}` the number zero-padded to six digits. */ export declare function resolveDepthFrameFile(pattern: string, index: number): string; /** * Checks a host-supplied depth map's shape, without reading its sample values. */ export declare function validateDepthMap(map: DepthMap): void; /** The code that stands for the top of a preview's range: 255, or 235 in TV range. */ export declare function depthPreviewTopCode(levels?: DepthPreviewLevels): number; //# sourceMappingURL=depth-manifest.d.ts.map