import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
import { Color, ImgTransformation, Point2f, Timestamp } from "./common";
export declare const protobufPackage = "dai.proto.image_annotations";
export declare enum PointsAnnotationType {
    UNKNOWN = 0,
    POINTS = 1,
    LINE_LOOP = 2,
    LINE_STRIP = 3,
    LINE_LIST = 4,
    UNRECOGNIZED = -1
}
export declare function pointsAnnotationTypeFromJSON(object: any): PointsAnnotationType;
export declare function pointsAnnotationTypeToJSON(object: PointsAnnotationType): string;
export interface ImageAnnotations {
    sequenceNum: number;
    ts: Timestamp | undefined;
    tsDevice: Timestamp | undefined;
    annotations: ImageAnnotation[];
    transformation: ImgTransformation | undefined;
}
export interface ImageAnnotation {
    circles: CircleAnnotation[];
    points: PointsAnnotation[];
    texts: TextAnnotation[];
}
export interface CircleAnnotation {
    position: Point2f | undefined;
    diameter: number;
    thickness: number;
    fillColor: Color | undefined;
    outlineColor: Color | undefined;
}
export interface PointsAnnotation {
    type: PointsAnnotationType;
    points: Point2f[];
    outlineColor: Color | undefined;
    outlineColors: Color[];
    fillColor: Color | undefined;
    thickness: number;
}
export interface TextAnnotation {
    position: Point2f | undefined;
    text: string;
    fontSize: number;
    textColor: Color | undefined;
    backgroundColor: Color | undefined;
}
export declare const ImageAnnotations: MessageFns<ImageAnnotations>;
export declare const ImageAnnotation: MessageFns<ImageAnnotation>;
export declare const CircleAnnotation: MessageFns<CircleAnnotation>;
export declare const PointsAnnotation: MessageFns<PointsAnnotation>;
export declare const TextAnnotation: MessageFns<TextAnnotation>;
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 = "ImageAnnotations";
export {};
//# sourceMappingURL=ImageAnnotations.d.ts.map