import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
import { ImgTransformation, KeypointsList, RotatedRect, Timestamp } from "./common";
export declare const protobufPackage = "dai.proto.img_detections";
export interface ImgDetections {
    sequenceNum: number;
    ts: Timestamp | undefined;
    tsDevice: Timestamp | undefined;
    detections: ImgDetection[];
    transformation: ImgTransformation | undefined;
    segmentationMaskWidth: number;
    segmentationMaskHeight: number;
    maskData: Uint8Array;
}
export interface ImgDetection {
    label: number;
    confidence: number;
    xmin: number;
    ymin: number;
    xmax: number;
    ymax: number;
    labelName: string;
    boundingBox: RotatedRect | undefined;
    keypoints: KeypointsList | undefined;
}
export declare const ImgDetections: MessageFns<ImgDetections>;
export declare const ImgDetection: MessageFns<ImgDetection>;
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & {
    [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
};
export interface MessageFns<T> {
    encode(message: T, writer?: BinaryWriter): BinaryWriter;
    decode(input: BinaryReader | Uint8Array, length?: number): T;
    fromJSON(object: any): T;
    toJSON(message: T): unknown;
    create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
    fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
}
export declare const protobufName = "ImgDetections";
export {};
//# sourceMappingURL=ImgDetections.d.ts.map