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 ReorderMetadataFieldGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type ReorderMetadataFieldRequestBody = {
    /**
     * The position of the metadata field.
     */
    position: number;
};
export type ReorderMetadataFieldRequest = {
    /**
     * The external ID of the metadata field to reorder.
     */
    externalId: string;
    requestBody: ReorderMetadataFieldRequestBody;
};
/**
 * metadata fields reordered
 */
export type ReorderMetadataFieldResponse = {
    metadataFields?: Array<components.MetadataField> | undefined;
};
/** @internal */
export declare const ReorderMetadataFieldGlobals$inboundSchema: z.ZodType<ReorderMetadataFieldGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type ReorderMetadataFieldGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const ReorderMetadataFieldGlobals$outboundSchema: z.ZodType<ReorderMetadataFieldGlobals$Outbound, z.ZodTypeDef, ReorderMetadataFieldGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldGlobals$ {
    /** @deprecated use `ReorderMetadataFieldGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReorderMetadataFieldGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReorderMetadataFieldGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReorderMetadataFieldGlobals$Outbound, z.ZodTypeDef, ReorderMetadataFieldGlobals>;
    /** @deprecated use `ReorderMetadataFieldGlobals$Outbound` instead. */
    type Outbound = ReorderMetadataFieldGlobals$Outbound;
}
export declare function reorderMetadataFieldGlobalsToJSON(reorderMetadataFieldGlobals: ReorderMetadataFieldGlobals): string;
export declare function reorderMetadataFieldGlobalsFromJSON(jsonString: string): SafeParseResult<ReorderMetadataFieldGlobals, SDKValidationError>;
/** @internal */
export declare const ReorderMetadataFieldRequestBody$inboundSchema: z.ZodType<ReorderMetadataFieldRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type ReorderMetadataFieldRequestBody$Outbound = {
    position: number;
};
/** @internal */
export declare const ReorderMetadataFieldRequestBody$outboundSchema: z.ZodType<ReorderMetadataFieldRequestBody$Outbound, z.ZodTypeDef, ReorderMetadataFieldRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldRequestBody$ {
    /** @deprecated use `ReorderMetadataFieldRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReorderMetadataFieldRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReorderMetadataFieldRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReorderMetadataFieldRequestBody$Outbound, z.ZodTypeDef, ReorderMetadataFieldRequestBody>;
    /** @deprecated use `ReorderMetadataFieldRequestBody$Outbound` instead. */
    type Outbound = ReorderMetadataFieldRequestBody$Outbound;
}
export declare function reorderMetadataFieldRequestBodyToJSON(reorderMetadataFieldRequestBody: ReorderMetadataFieldRequestBody): string;
export declare function reorderMetadataFieldRequestBodyFromJSON(jsonString: string): SafeParseResult<ReorderMetadataFieldRequestBody, SDKValidationError>;
/** @internal */
export declare const ReorderMetadataFieldRequest$inboundSchema: z.ZodType<ReorderMetadataFieldRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type ReorderMetadataFieldRequest$Outbound = {
    external_id: string;
    RequestBody: ReorderMetadataFieldRequestBody$Outbound;
};
/** @internal */
export declare const ReorderMetadataFieldRequest$outboundSchema: z.ZodType<ReorderMetadataFieldRequest$Outbound, z.ZodTypeDef, ReorderMetadataFieldRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldRequest$ {
    /** @deprecated use `ReorderMetadataFieldRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReorderMetadataFieldRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReorderMetadataFieldRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReorderMetadataFieldRequest$Outbound, z.ZodTypeDef, ReorderMetadataFieldRequest>;
    /** @deprecated use `ReorderMetadataFieldRequest$Outbound` instead. */
    type Outbound = ReorderMetadataFieldRequest$Outbound;
}
export declare function reorderMetadataFieldRequestToJSON(reorderMetadataFieldRequest: ReorderMetadataFieldRequest): string;
export declare function reorderMetadataFieldRequestFromJSON(jsonString: string): SafeParseResult<ReorderMetadataFieldRequest, SDKValidationError>;
/** @internal */
export declare const ReorderMetadataFieldResponse$inboundSchema: z.ZodType<ReorderMetadataFieldResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type ReorderMetadataFieldResponse$Outbound = {
    metadata_fields?: Array<components.MetadataField$Outbound> | undefined;
};
/** @internal */
export declare const ReorderMetadataFieldResponse$outboundSchema: z.ZodType<ReorderMetadataFieldResponse$Outbound, z.ZodTypeDef, ReorderMetadataFieldResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldResponse$ {
    /** @deprecated use `ReorderMetadataFieldResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReorderMetadataFieldResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReorderMetadataFieldResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReorderMetadataFieldResponse$Outbound, z.ZodTypeDef, ReorderMetadataFieldResponse>;
    /** @deprecated use `ReorderMetadataFieldResponse$Outbound` instead. */
    type Outbound = ReorderMetadataFieldResponse$Outbound;
}
export declare function reorderMetadataFieldResponseToJSON(reorderMetadataFieldResponse: ReorderMetadataFieldResponse): string;
export declare function reorderMetadataFieldResponseFromJSON(jsonString: string): SafeParseResult<ReorderMetadataFieldResponse, SDKValidationError>;
//# sourceMappingURL=reordermetadatafield.d.ts.map