import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetResourceByPublicIdGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
/**
 * The delivery type of the asset.
 */
export declare const GetResourceByPublicIdType: {
    readonly Upload: "upload";
    readonly Private: "private";
    readonly Authenticated: "authenticated";
    readonly Fetch: "fetch";
    readonly Facebook: "facebook";
    readonly Twitter: "twitter";
    readonly Gravatar: "gravatar";
    readonly Youtube: "youtube";
    readonly Hulu: "hulu";
    readonly Vimeo: "vimeo";
    readonly Animoto: "animoto";
    readonly Worldstarhiphop: "worldstarhiphop";
    readonly Dailymotion: "dailymotion";
    readonly List: "list";
};
/**
 * The delivery type of the asset.
 */
export type GetResourceByPublicIdType = ClosedEnum<typeof GetResourceByPublicIdType>;
export type GetResourceByPublicIdRequest = {
    /**
     * The type the of asset.
     */
    resourceType: components.ResourceTypeParameter;
    /**
     * The delivery type of the asset.
     */
    type: GetResourceByPublicIdType;
    /**
     * The public ID of the asset to update.
     */
    publicId: string;
    /**
     * Whether to include color information (predominant colors and histogram of 32 leading colors). Default: false.
     */
    colors?: boolean | undefined;
    /**
     * Whether to include IPTC, XMP, and detailed Exif metadata in the response. Default: false.
     */
    mediaMetadata?: boolean | undefined;
    /**
     * Whether to include a list of coordinates of detected faces. Default: false.
     */
    faces?: boolean | undefined;
    /**
     * Whether to return quality analysis scores for the image. Default: false.
     */
    qualityAnalysis?: boolean | undefined;
    /**
     * Whether to return accessibility analysis scores for the image. Default: false.
     */
    accessibilityAnalysis?: boolean | undefined;
    /**
     * Whether to report the number of pages in multi-page documents (e.g., PDF). Default: false.
     */
    pages?: boolean | undefined;
    /**
     * Whether to include the perceptual hash (pHash) of the uploaded photo for image similarity detection. Default: false.
     */
    phash?: boolean | undefined;
    /**
     * Whether to include previously specified custom cropping coordinates and faces coordinates. Default: false.
     */
    coordinates?: boolean | undefined;
    /**
     * Whether to include details of all the backed up versions of the asset. Default: false.
     */
    versions?: boolean | undefined;
    /**
     * Maximum number of derived assets to return. Default: 10.
     */
    maxResults?: number | undefined;
    /**
     * The cursor for the next page of derived assets when there are more derived images than max_results.
     */
    derivedNextCursor?: string | undefined;
};
/** @internal */
export declare const GetResourceByPublicIdGlobals$inboundSchema: z.ZodType<GetResourceByPublicIdGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResourceByPublicIdGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const GetResourceByPublicIdGlobals$outboundSchema: z.ZodType<GetResourceByPublicIdGlobals$Outbound, z.ZodTypeDef, GetResourceByPublicIdGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourceByPublicIdGlobals$ {
    /** @deprecated use `GetResourceByPublicIdGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResourceByPublicIdGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResourceByPublicIdGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResourceByPublicIdGlobals$Outbound, z.ZodTypeDef, GetResourceByPublicIdGlobals>;
    /** @deprecated use `GetResourceByPublicIdGlobals$Outbound` instead. */
    type Outbound = GetResourceByPublicIdGlobals$Outbound;
}
export declare function getResourceByPublicIdGlobalsToJSON(getResourceByPublicIdGlobals: GetResourceByPublicIdGlobals): string;
export declare function getResourceByPublicIdGlobalsFromJSON(jsonString: string): SafeParseResult<GetResourceByPublicIdGlobals, SDKValidationError>;
/** @internal */
export declare const GetResourceByPublicIdType$inboundSchema: z.ZodNativeEnum<typeof GetResourceByPublicIdType>;
/** @internal */
export declare const GetResourceByPublicIdType$outboundSchema: z.ZodNativeEnum<typeof GetResourceByPublicIdType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourceByPublicIdType$ {
    /** @deprecated use `GetResourceByPublicIdType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly Fetch: "fetch";
        readonly Facebook: "facebook";
        readonly Twitter: "twitter";
        readonly Gravatar: "gravatar";
        readonly Youtube: "youtube";
        readonly Hulu: "hulu";
        readonly Vimeo: "vimeo";
        readonly Animoto: "animoto";
        readonly Worldstarhiphop: "worldstarhiphop";
        readonly Dailymotion: "dailymotion";
        readonly List: "list";
    }>;
    /** @deprecated use `GetResourceByPublicIdType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Upload: "upload";
        readonly Private: "private";
        readonly Authenticated: "authenticated";
        readonly Fetch: "fetch";
        readonly Facebook: "facebook";
        readonly Twitter: "twitter";
        readonly Gravatar: "gravatar";
        readonly Youtube: "youtube";
        readonly Hulu: "hulu";
        readonly Vimeo: "vimeo";
        readonly Animoto: "animoto";
        readonly Worldstarhiphop: "worldstarhiphop";
        readonly Dailymotion: "dailymotion";
        readonly List: "list";
    }>;
}
/** @internal */
export declare const GetResourceByPublicIdRequest$inboundSchema: z.ZodType<GetResourceByPublicIdRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResourceByPublicIdRequest$Outbound = {
    resource_type: string;
    type: string;
    public_id: string;
    colors: boolean;
    media_metadata: boolean;
    faces: boolean;
    quality_analysis: boolean;
    accessibility_analysis: boolean;
    pages: boolean;
    phash: boolean;
    coordinates: boolean;
    versions: boolean;
    max_results: number;
    derived_next_cursor?: string | undefined;
};
/** @internal */
export declare const GetResourceByPublicIdRequest$outboundSchema: z.ZodType<GetResourceByPublicIdRequest$Outbound, z.ZodTypeDef, GetResourceByPublicIdRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourceByPublicIdRequest$ {
    /** @deprecated use `GetResourceByPublicIdRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResourceByPublicIdRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResourceByPublicIdRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResourceByPublicIdRequest$Outbound, z.ZodTypeDef, GetResourceByPublicIdRequest>;
    /** @deprecated use `GetResourceByPublicIdRequest$Outbound` instead. */
    type Outbound = GetResourceByPublicIdRequest$Outbound;
}
export declare function getResourceByPublicIdRequestToJSON(getResourceByPublicIdRequest: GetResourceByPublicIdRequest): string;
export declare function getResourceByPublicIdRequestFromJSON(jsonString: string): SafeParseResult<GetResourceByPublicIdRequest, SDKValidationError>;
//# sourceMappingURL=getresourcebypublicid.d.ts.map