import _m0 from 'protobufjs/minimal';
import { Polygon } from '../../../../../yandex/cloud/ai/vision/v1/primitives';
export declare const protobufPackage = "yandex.cloud.ai.vision.v1";
export interface FaceAnnotation {
    /** An array of detected faces for the specified image. */
    faces: Face[];
}
export interface Face {
    /** Area on the image where the face is located. */
    boundingBox?: Polygon;
}
export declare const FaceAnnotation: {
    encode(message: FaceAnnotation, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): FaceAnnotation;
    fromJSON(object: any): FaceAnnotation;
    toJSON(message: FaceAnnotation): unknown;
    fromPartial<I extends {
        faces?: {
            boundingBox?: {
                vertices?: {
                    x?: number | undefined;
                    y?: number | undefined;
                }[] | undefined;
            } | undefined;
        }[] | undefined;
    } & {
        faces?: ({
            boundingBox?: {
                vertices?: {
                    x?: number | undefined;
                    y?: number | undefined;
                }[] | undefined;
            } | undefined;
        }[] & ({
            boundingBox?: {
                vertices?: {
                    x?: number | undefined;
                    y?: number | undefined;
                }[] | undefined;
            } | undefined;
        } & {
            boundingBox?: ({
                vertices?: {
                    x?: number | undefined;
                    y?: number | undefined;
                }[] | undefined;
            } & {
                vertices?: ({
                    x?: number | undefined;
                    y?: number | undefined;
                }[] & ({
                    x?: number | undefined;
                    y?: number | undefined;
                } & {
                    x?: number | undefined;
                    y?: number | undefined;
                } & Record<Exclude<keyof I["faces"][number]["boundingBox"]["vertices"][number], keyof import("../../../../../yandex/cloud/ai/vision/v1/primitives").Vertex>, never>)[] & Record<Exclude<keyof I["faces"][number]["boundingBox"]["vertices"], keyof {
                    x?: number | undefined;
                    y?: number | undefined;
                }[]>, never>) | undefined;
            } & Record<Exclude<keyof I["faces"][number]["boundingBox"], "vertices">, never>) | undefined;
        } & Record<Exclude<keyof I["faces"][number], "boundingBox">, never>)[] & Record<Exclude<keyof I["faces"], keyof {
            boundingBox?: {
                vertices?: {
                    x?: number | undefined;
                    y?: number | undefined;
                }[] | undefined;
            } | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, "faces">, never>>(object: I): FaceAnnotation;
};
export declare const Face: {
    encode(message: Face, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Face;
    fromJSON(object: any): Face;
    toJSON(message: Face): unknown;
    fromPartial<I extends {
        boundingBox?: {
            vertices?: {
                x?: number | undefined;
                y?: number | undefined;
            }[] | undefined;
        } | undefined;
    } & {
        boundingBox?: ({
            vertices?: {
                x?: number | undefined;
                y?: number | undefined;
            }[] | undefined;
        } & {
            vertices?: ({
                x?: number | undefined;
                y?: number | undefined;
            }[] & ({
                x?: number | undefined;
                y?: number | undefined;
            } & {
                x?: number | undefined;
                y?: number | undefined;
            } & Record<Exclude<keyof I["boundingBox"]["vertices"][number], keyof import("../../../../../yandex/cloud/ai/vision/v1/primitives").Vertex>, never>)[] & Record<Exclude<keyof I["boundingBox"]["vertices"], keyof {
                x?: number | undefined;
                y?: number | undefined;
            }[]>, never>) | undefined;
        } & Record<Exclude<keyof I["boundingBox"], "vertices">, never>) | undefined;
    } & Record<Exclude<keyof I, "boundingBox">, never>>(object: I): Face;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? 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]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
