import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type Info = {
    width?: number | undefined;
    height?: number | undefined;
    crop?: string | undefined;
    gravity?: string | undefined;
};
export type Derived = {
    publicId?: string | undefined;
    resourceType?: string | undefined;
    type?: string | undefined;
    format?: string | undefined;
    url?: string | undefined;
    secureUrl?: string | undefined;
    bytes?: number | undefined;
    id?: string | undefined;
};
export type TransformationInfo = {
    name?: string | undefined;
    /**
     * Whether to allow this named transformation when [strict transformations](https://cloudinary.com/documentation/control_access_to_media#strict_transformations) are enabled.
     *
     * @remarks
     */
    allowedForStrict?: boolean | undefined;
    used?: boolean | undefined;
    named?: boolean | undefined;
    /**
     * API transformation parameters
     */
    info?: Array<Info> | undefined;
    derived?: Array<Derived> | undefined;
    nextCursor?: string | undefined;
};
/** @internal */
export declare const Info$inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown>;
/** @internal */
export type Info$Outbound = {
    width?: number | undefined;
    height?: number | undefined;
    crop?: string | undefined;
    gravity?: string | undefined;
};
/** @internal */
export declare const Info$outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Info$ {
    /** @deprecated use `Info$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown>;
    /** @deprecated use `Info$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info>;
    /** @deprecated use `Info$Outbound` instead. */
    type Outbound = Info$Outbound;
}
export declare function infoToJSON(info: Info): string;
export declare function infoFromJSON(jsonString: string): SafeParseResult<Info, SDKValidationError>;
/** @internal */
export declare const Derived$inboundSchema: z.ZodType<Derived, z.ZodTypeDef, unknown>;
/** @internal */
export type Derived$Outbound = {
    public_id?: string | undefined;
    resource_type?: string | undefined;
    type?: string | undefined;
    format?: string | undefined;
    url?: string | undefined;
    secure_url?: string | undefined;
    bytes?: number | undefined;
    id?: string | undefined;
};
/** @internal */
export declare const Derived$outboundSchema: z.ZodType<Derived$Outbound, z.ZodTypeDef, Derived>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Derived$ {
    /** @deprecated use `Derived$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Derived, z.ZodTypeDef, unknown>;
    /** @deprecated use `Derived$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Derived$Outbound, z.ZodTypeDef, Derived>;
    /** @deprecated use `Derived$Outbound` instead. */
    type Outbound = Derived$Outbound;
}
export declare function derivedToJSON(derived: Derived): string;
export declare function derivedFromJSON(jsonString: string): SafeParseResult<Derived, SDKValidationError>;
/** @internal */
export declare const TransformationInfo$inboundSchema: z.ZodType<TransformationInfo, z.ZodTypeDef, unknown>;
/** @internal */
export type TransformationInfo$Outbound = {
    name?: string | undefined;
    allowed_for_strict?: boolean | undefined;
    used?: boolean | undefined;
    named?: boolean | undefined;
    info?: Array<Info$Outbound> | undefined;
    derived?: Array<Derived$Outbound> | undefined;
    next_cursor?: string | undefined;
};
/** @internal */
export declare const TransformationInfo$outboundSchema: z.ZodType<TransformationInfo$Outbound, z.ZodTypeDef, TransformationInfo>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TransformationInfo$ {
    /** @deprecated use `TransformationInfo$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TransformationInfo, z.ZodTypeDef, unknown>;
    /** @deprecated use `TransformationInfo$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TransformationInfo$Outbound, z.ZodTypeDef, TransformationInfo>;
    /** @deprecated use `TransformationInfo$Outbound` instead. */
    type Outbound = TransformationInfo$Outbound;
}
export declare function transformationInfoToJSON(transformationInfo: TransformationInfo): string;
export declare function transformationInfoFromJSON(jsonString: string): SafeParseResult<TransformationInfo, SDKValidationError>;
//# sourceMappingURL=transformationinfo.d.ts.map