import type { PointCloud } from "@foxglove/schemas";
import { MessageEvent } from "@foxglove/studio-base/players/types";
import { ImgFrame } from "../../../protobuf.generated/ImgFrame.js";
export type DeserializeDepthFrameArgs = {
    topic: string;
    message: ImgFrame;
    maxStereoDepth: number;
    callback: (event: MessageEvent) => void;
};
export type PointCloudWithDimensions = PointCloud & {
    width?: number;
    height?: number;
};
export declare function deserializeDepthFrame({ topic, message, callback, maxStereoDepth, }: DeserializeDepthFrameArgs): Promise<void>;
export declare function getDistanceFromDepthDataForOffset(depthData: Uint8Array, width: number, height: number, xOffset: number, yOffset: number): number | undefined;
//# sourceMappingURL=depth.d.ts.map