import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateMetadataRuleGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type UpdateMetadataRuleRequest = {
    /**
     * The unique identifier of the metadata rule.
     */
    externalId: string;
    metadataRuleUpdate: components.MetadataRuleUpdate;
};
/** @internal */
export declare const UpdateMetadataRuleGlobals$inboundSchema: z.ZodType<UpdateMetadataRuleGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMetadataRuleGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const UpdateMetadataRuleGlobals$outboundSchema: z.ZodType<UpdateMetadataRuleGlobals$Outbound, z.ZodTypeDef, UpdateMetadataRuleGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateMetadataRuleGlobals$ {
    /** @deprecated use `UpdateMetadataRuleGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateMetadataRuleGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateMetadataRuleGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateMetadataRuleGlobals$Outbound, z.ZodTypeDef, UpdateMetadataRuleGlobals>;
    /** @deprecated use `UpdateMetadataRuleGlobals$Outbound` instead. */
    type Outbound = UpdateMetadataRuleGlobals$Outbound;
}
export declare function updateMetadataRuleGlobalsToJSON(updateMetadataRuleGlobals: UpdateMetadataRuleGlobals): string;
export declare function updateMetadataRuleGlobalsFromJSON(jsonString: string): SafeParseResult<UpdateMetadataRuleGlobals, SDKValidationError>;
/** @internal */
export declare const UpdateMetadataRuleRequest$inboundSchema: z.ZodType<UpdateMetadataRuleRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateMetadataRuleRequest$Outbound = {
    external_id: string;
    metadata_rule_update: components.MetadataRuleUpdate$Outbound;
};
/** @internal */
export declare const UpdateMetadataRuleRequest$outboundSchema: z.ZodType<UpdateMetadataRuleRequest$Outbound, z.ZodTypeDef, UpdateMetadataRuleRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateMetadataRuleRequest$ {
    /** @deprecated use `UpdateMetadataRuleRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateMetadataRuleRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateMetadataRuleRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateMetadataRuleRequest$Outbound, z.ZodTypeDef, UpdateMetadataRuleRequest>;
    /** @deprecated use `UpdateMetadataRuleRequest$Outbound` instead. */
    type Outbound = UpdateMetadataRuleRequest$Outbound;
}
export declare function updateMetadataRuleRequestToJSON(updateMetadataRuleRequest: UpdateMetadataRuleRequest): string;
export declare function updateMetadataRuleRequestFromJSON(jsonString: string): SafeParseResult<UpdateMetadataRuleRequest, SDKValidationError>;
//# sourceMappingURL=updatemetadatarule.d.ts.map