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 ReorderMetadataFieldsGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
/**
 * The field to order by.
 */
export declare const ReorderMetadataFieldsOrderBy: {
    readonly Label: "label";
    readonly CreatedAt: "created_at";
    readonly ExternalId: "external_id";
};
/**
 * The field to order by.
 */
export type ReorderMetadataFieldsOrderBy = ClosedEnum<typeof ReorderMetadataFieldsOrderBy>;
/**
 * The direction to order by.
 */
export declare const ReorderMetadataFieldsDirection: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The direction to order by.
 */
export type ReorderMetadataFieldsDirection = ClosedEnum<typeof ReorderMetadataFieldsDirection>;
export type ReorderMetadataFieldsRequest = {
    /**
     * The field to order by.
     */
    orderBy: ReorderMetadataFieldsOrderBy;
    /**
     * The direction to order by.
     */
    direction?: ReorderMetadataFieldsDirection | undefined;
};
/**
 * metadata fields reordered
 */
export type ReorderMetadataFieldsResponse = {
    metadataFields?: Array<components.MetadataField> | undefined;
};
/** @internal */
export declare const ReorderMetadataFieldsGlobals$inboundSchema: z.ZodType<ReorderMetadataFieldsGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type ReorderMetadataFieldsGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const ReorderMetadataFieldsGlobals$outboundSchema: z.ZodType<ReorderMetadataFieldsGlobals$Outbound, z.ZodTypeDef, ReorderMetadataFieldsGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldsGlobals$ {
    /** @deprecated use `ReorderMetadataFieldsGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReorderMetadataFieldsGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReorderMetadataFieldsGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReorderMetadataFieldsGlobals$Outbound, z.ZodTypeDef, ReorderMetadataFieldsGlobals>;
    /** @deprecated use `ReorderMetadataFieldsGlobals$Outbound` instead. */
    type Outbound = ReorderMetadataFieldsGlobals$Outbound;
}
export declare function reorderMetadataFieldsGlobalsToJSON(reorderMetadataFieldsGlobals: ReorderMetadataFieldsGlobals): string;
export declare function reorderMetadataFieldsGlobalsFromJSON(jsonString: string): SafeParseResult<ReorderMetadataFieldsGlobals, SDKValidationError>;
/** @internal */
export declare const ReorderMetadataFieldsOrderBy$inboundSchema: z.ZodNativeEnum<typeof ReorderMetadataFieldsOrderBy>;
/** @internal */
export declare const ReorderMetadataFieldsOrderBy$outboundSchema: z.ZodNativeEnum<typeof ReorderMetadataFieldsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldsOrderBy$ {
    /** @deprecated use `ReorderMetadataFieldsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Label: "label";
        readonly CreatedAt: "created_at";
        readonly ExternalId: "external_id";
    }>;
    /** @deprecated use `ReorderMetadataFieldsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Label: "label";
        readonly CreatedAt: "created_at";
        readonly ExternalId: "external_id";
    }>;
}
/** @internal */
export declare const ReorderMetadataFieldsDirection$inboundSchema: z.ZodNativeEnum<typeof ReorderMetadataFieldsDirection>;
/** @internal */
export declare const ReorderMetadataFieldsDirection$outboundSchema: z.ZodNativeEnum<typeof ReorderMetadataFieldsDirection>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldsDirection$ {
    /** @deprecated use `ReorderMetadataFieldsDirection$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `ReorderMetadataFieldsDirection$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const ReorderMetadataFieldsRequest$inboundSchema: z.ZodType<ReorderMetadataFieldsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type ReorderMetadataFieldsRequest$Outbound = {
    order_by: string;
    direction?: string | undefined;
};
/** @internal */
export declare const ReorderMetadataFieldsRequest$outboundSchema: z.ZodType<ReorderMetadataFieldsRequest$Outbound, z.ZodTypeDef, ReorderMetadataFieldsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldsRequest$ {
    /** @deprecated use `ReorderMetadataFieldsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReorderMetadataFieldsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReorderMetadataFieldsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReorderMetadataFieldsRequest$Outbound, z.ZodTypeDef, ReorderMetadataFieldsRequest>;
    /** @deprecated use `ReorderMetadataFieldsRequest$Outbound` instead. */
    type Outbound = ReorderMetadataFieldsRequest$Outbound;
}
export declare function reorderMetadataFieldsRequestToJSON(reorderMetadataFieldsRequest: ReorderMetadataFieldsRequest): string;
export declare function reorderMetadataFieldsRequestFromJSON(jsonString: string): SafeParseResult<ReorderMetadataFieldsRequest, SDKValidationError>;
/** @internal */
export declare const ReorderMetadataFieldsResponse$inboundSchema: z.ZodType<ReorderMetadataFieldsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type ReorderMetadataFieldsResponse$Outbound = {
    metadata_fields?: Array<components.MetadataField$Outbound> | undefined;
};
/** @internal */
export declare const ReorderMetadataFieldsResponse$outboundSchema: z.ZodType<ReorderMetadataFieldsResponse$Outbound, z.ZodTypeDef, ReorderMetadataFieldsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReorderMetadataFieldsResponse$ {
    /** @deprecated use `ReorderMetadataFieldsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReorderMetadataFieldsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReorderMetadataFieldsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReorderMetadataFieldsResponse$Outbound, z.ZodTypeDef, ReorderMetadataFieldsResponse>;
    /** @deprecated use `ReorderMetadataFieldsResponse$Outbound` instead. */
    type Outbound = ReorderMetadataFieldsResponse$Outbound;
}
export declare function reorderMetadataFieldsResponseToJSON(reorderMetadataFieldsResponse: ReorderMetadataFieldsResponse): string;
export declare function reorderMetadataFieldsResponseFromJSON(jsonString: string): SafeParseResult<ReorderMetadataFieldsResponse, SDKValidationError>;
//# sourceMappingURL=reordermetadatafields.d.ts.map