/// <reference types="node" />
import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.ai.vision.v2";
export interface Image {
    /** bytes with data */
    content: Buffer | undefined;
    /** type of data */
    imageType: Image_ImageType;
}
/** type of image */
export declare enum Image_ImageType {
    IMAGE_TYPE_UNSPECIFIED = 0,
    JPEG = 1,
    PNG = 2,
    UNRECOGNIZED = -1
}
export declare function image_ImageTypeFromJSON(object: any): Image_ImageType;
export declare function image_ImageTypeToJSON(object: Image_ImageType): string;
export declare const Image: {
    encode(message: Image, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Image;
    fromJSON(object: any): Image;
    toJSON(message: Image): unknown;
    fromPartial<I extends {
        content?: Buffer | undefined;
        imageType?: Image_ImageType | undefined;
    } & {
        content?: Buffer | undefined;
        imageType?: Image_ImageType | undefined;
    } & Record<Exclude<keyof I, keyof Image>, never>>(object: I): Image;
};
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 {};
