import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateRequest = {
    /**
     * Required when modifying the transformation parameters of an existing named transformation. The new transformation definition for the named transformation.
     *
     * @remarks
     * Because the changed definition can be unsafe for (significantly change) assets in production, the change is applied only to newly generated derived assets that reference this named transformation.
     *
     * To apply the change to existing derived assets using this named transformation, invalidate them so that they'll be regenerated with the new definition when next requested.
     */
    unsafeUpdate?: string | undefined;
    /**
     * Whether to allow this named transformation when strict transformations are enabled. Strict transformations prevent transformations from being dynamically applied to media assets.
     *
     * @remarks
     */
    allowedForStrict?: boolean | undefined;
};
/** @internal */
export declare const UpdateRequest$inboundSchema: z.ZodType<UpdateRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateRequest$Outbound = {
    unsafe_update?: string | undefined;
    allowed_for_strict?: boolean | undefined;
};
/** @internal */
export declare const UpdateRequest$outboundSchema: z.ZodType<UpdateRequest$Outbound, z.ZodTypeDef, UpdateRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateRequest$ {
    /** @deprecated use `UpdateRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateRequest$Outbound, z.ZodTypeDef, UpdateRequest>;
    /** @deprecated use `UpdateRequest$Outbound` instead. */
    type Outbound = UpdateRequest$Outbound;
}
export declare function updateRequestToJSON(updateRequest: UpdateRequest): string;
export declare function updateRequestFromJSON(jsonString: string): SafeParseResult<UpdateRequest, SDKValidationError>;
//# sourceMappingURL=updaterequest.d.ts.map