import _m0 from "protobufjs/minimal";
import { Color, 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[];
}
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: {
    encode(message: ImageAnnotations, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ImageAnnotations;
    fromJSON(object: any): ImageAnnotations;
    toJSON(message: ImageAnnotations): unknown;
    create<I extends Exact<DeepPartial<ImageAnnotations>, I>>(base?: I): ImageAnnotations;
    fromPartial<I extends Exact<DeepPartial<ImageAnnotations>, I>>(object: I): ImageAnnotations;
};
export declare const ImageAnnotation: {
    encode(message: ImageAnnotation, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ImageAnnotation;
    fromJSON(object: any): ImageAnnotation;
    toJSON(message: ImageAnnotation): unknown;
    create<I extends Exact<DeepPartial<ImageAnnotation>, I>>(base?: I): ImageAnnotation;
    fromPartial<I extends Exact<DeepPartial<ImageAnnotation>, I>>(object: I): ImageAnnotation;
};
export declare const CircleAnnotation: {
    encode(message: CircleAnnotation, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CircleAnnotation;
    fromJSON(object: any): CircleAnnotation;
    toJSON(message: CircleAnnotation): unknown;
    create<I extends Exact<DeepPartial<CircleAnnotation>, I>>(base?: I): CircleAnnotation;
    fromPartial<I extends Exact<DeepPartial<CircleAnnotation>, I>>(object: I): CircleAnnotation;
};
export declare const PointsAnnotation: {
    encode(message: PointsAnnotation, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PointsAnnotation;
    fromJSON(object: any): PointsAnnotation;
    toJSON(message: PointsAnnotation): unknown;
    create<I extends Exact<DeepPartial<PointsAnnotation>, I>>(base?: I): PointsAnnotation;
    fromPartial<I extends Exact<DeepPartial<PointsAnnotation>, I>>(object: I): PointsAnnotation;
};
export declare const TextAnnotation: {
    encode(message: TextAnnotation, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): TextAnnotation;
    fromJSON(object: any): TextAnnotation;
    toJSON(message: TextAnnotation): unknown;
    create<I extends Exact<DeepPartial<TextAnnotation>, I>>(base?: I): TextAnnotation;
    fromPartial<I extends Exact<DeepPartial<TextAnnotation>, I>>(object: I): 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 declare const protobufName = "ImageAnnotations";
export {};
//# sourceMappingURL=ImageAnnotations.d.ts.map