import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Vertices = {
    x?: number | undefined;
    y?: number | undefined;
};
export type BoundingPoly = {
    vertices?: Array<Vertices> | undefined;
};
export type LogoAnnotations = {
    mid?: string | undefined;
    description: string;
    score: number;
    boundingPoly: BoundingPoly;
};
export type GoogleLogoDetectionAnalysisData = {
    logoAnnotations: Array<LogoAnnotations>;
};
/** @internal */
export declare const Vertices$inboundSchema: z.ZodType<Vertices, z.ZodTypeDef, unknown>;
/** @internal */
export type Vertices$Outbound = {
    x?: number | undefined;
    y?: number | undefined;
};
/** @internal */
export declare const Vertices$outboundSchema: z.ZodType<Vertices$Outbound, z.ZodTypeDef, Vertices>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Vertices$ {
    /** @deprecated use `Vertices$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Vertices, z.ZodTypeDef, unknown>;
    /** @deprecated use `Vertices$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Vertices$Outbound, z.ZodTypeDef, Vertices>;
    /** @deprecated use `Vertices$Outbound` instead. */
    type Outbound = Vertices$Outbound;
}
export declare function verticesToJSON(vertices: Vertices): string;
export declare function verticesFromJSON(jsonString: string): SafeParseResult<Vertices, SDKValidationError>;
/** @internal */
export declare const BoundingPoly$inboundSchema: z.ZodType<BoundingPoly, z.ZodTypeDef, unknown>;
/** @internal */
export type BoundingPoly$Outbound = {
    vertices?: Array<Vertices$Outbound> | undefined;
};
/** @internal */
export declare const BoundingPoly$outboundSchema: z.ZodType<BoundingPoly$Outbound, z.ZodTypeDef, BoundingPoly>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BoundingPoly$ {
    /** @deprecated use `BoundingPoly$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BoundingPoly, z.ZodTypeDef, unknown>;
    /** @deprecated use `BoundingPoly$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BoundingPoly$Outbound, z.ZodTypeDef, BoundingPoly>;
    /** @deprecated use `BoundingPoly$Outbound` instead. */
    type Outbound = BoundingPoly$Outbound;
}
export declare function boundingPolyToJSON(boundingPoly: BoundingPoly): string;
export declare function boundingPolyFromJSON(jsonString: string): SafeParseResult<BoundingPoly, SDKValidationError>;
/** @internal */
export declare const LogoAnnotations$inboundSchema: z.ZodType<LogoAnnotations, z.ZodTypeDef, unknown>;
/** @internal */
export type LogoAnnotations$Outbound = {
    mid?: string | undefined;
    description: string;
    score: number;
    bounding_poly: BoundingPoly$Outbound;
};
/** @internal */
export declare const LogoAnnotations$outboundSchema: z.ZodType<LogoAnnotations$Outbound, z.ZodTypeDef, LogoAnnotations>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace LogoAnnotations$ {
    /** @deprecated use `LogoAnnotations$inboundSchema` instead. */
    const inboundSchema: z.ZodType<LogoAnnotations, z.ZodTypeDef, unknown>;
    /** @deprecated use `LogoAnnotations$outboundSchema` instead. */
    const outboundSchema: z.ZodType<LogoAnnotations$Outbound, z.ZodTypeDef, LogoAnnotations>;
    /** @deprecated use `LogoAnnotations$Outbound` instead. */
    type Outbound = LogoAnnotations$Outbound;
}
export declare function logoAnnotationsToJSON(logoAnnotations: LogoAnnotations): string;
export declare function logoAnnotationsFromJSON(jsonString: string): SafeParseResult<LogoAnnotations, SDKValidationError>;
/** @internal */
export declare const GoogleLogoDetectionAnalysisData$inboundSchema: z.ZodType<GoogleLogoDetectionAnalysisData, z.ZodTypeDef, unknown>;
/** @internal */
export type GoogleLogoDetectionAnalysisData$Outbound = {
    logo_annotations: Array<LogoAnnotations$Outbound>;
};
/** @internal */
export declare const GoogleLogoDetectionAnalysisData$outboundSchema: z.ZodType<GoogleLogoDetectionAnalysisData$Outbound, z.ZodTypeDef, GoogleLogoDetectionAnalysisData>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GoogleLogoDetectionAnalysisData$ {
    /** @deprecated use `GoogleLogoDetectionAnalysisData$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GoogleLogoDetectionAnalysisData, z.ZodTypeDef, unknown>;
    /** @deprecated use `GoogleLogoDetectionAnalysisData$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GoogleLogoDetectionAnalysisData$Outbound, z.ZodTypeDef, GoogleLogoDetectionAnalysisData>;
    /** @deprecated use `GoogleLogoDetectionAnalysisData$Outbound` instead. */
    type Outbound = GoogleLogoDetectionAnalysisData$Outbound;
}
export declare function googleLogoDetectionAnalysisDataToJSON(googleLogoDetectionAnalysisData: GoogleLogoDetectionAnalysisData): string;
export declare function googleLogoDetectionAnalysisDataFromJSON(jsonString: string): SafeParseResult<GoogleLogoDetectionAnalysisData, SDKValidationError>;
//# sourceMappingURL=googlelogodetectionanalysisdata.d.ts.map