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 ListMetadataFieldsGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type ListMetadataFieldsRequest = {
    /**
     * The external IDs of the metadata fields to retrieve. if not provided, all metadata fields will be returned.
     */
    externalIds?: Array<string> | undefined;
};
/**
 * metadata fields retrieved
 */
export type ListMetadataFieldsResponse = {
    metadataFields?: Array<components.MetadataField> | undefined;
};
/** @internal */
export declare const ListMetadataFieldsGlobals$inboundSchema: z.ZodType<ListMetadataFieldsGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type ListMetadataFieldsGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const ListMetadataFieldsGlobals$outboundSchema: z.ZodType<ListMetadataFieldsGlobals$Outbound, z.ZodTypeDef, ListMetadataFieldsGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListMetadataFieldsGlobals$ {
    /** @deprecated use `ListMetadataFieldsGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListMetadataFieldsGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListMetadataFieldsGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListMetadataFieldsGlobals$Outbound, z.ZodTypeDef, ListMetadataFieldsGlobals>;
    /** @deprecated use `ListMetadataFieldsGlobals$Outbound` instead. */
    type Outbound = ListMetadataFieldsGlobals$Outbound;
}
export declare function listMetadataFieldsGlobalsToJSON(listMetadataFieldsGlobals: ListMetadataFieldsGlobals): string;
export declare function listMetadataFieldsGlobalsFromJSON(jsonString: string): SafeParseResult<ListMetadataFieldsGlobals, SDKValidationError>;
/** @internal */
export declare const ListMetadataFieldsRequest$inboundSchema: z.ZodType<ListMetadataFieldsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type ListMetadataFieldsRequest$Outbound = {
    external_ids?: Array<string> | undefined;
};
/** @internal */
export declare const ListMetadataFieldsRequest$outboundSchema: z.ZodType<ListMetadataFieldsRequest$Outbound, z.ZodTypeDef, ListMetadataFieldsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListMetadataFieldsRequest$ {
    /** @deprecated use `ListMetadataFieldsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListMetadataFieldsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListMetadataFieldsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListMetadataFieldsRequest$Outbound, z.ZodTypeDef, ListMetadataFieldsRequest>;
    /** @deprecated use `ListMetadataFieldsRequest$Outbound` instead. */
    type Outbound = ListMetadataFieldsRequest$Outbound;
}
export declare function listMetadataFieldsRequestToJSON(listMetadataFieldsRequest: ListMetadataFieldsRequest): string;
export declare function listMetadataFieldsRequestFromJSON(jsonString: string): SafeParseResult<ListMetadataFieldsRequest, SDKValidationError>;
/** @internal */
export declare const ListMetadataFieldsResponse$inboundSchema: z.ZodType<ListMetadataFieldsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type ListMetadataFieldsResponse$Outbound = {
    metadata_fields?: Array<components.MetadataField$Outbound> | undefined;
};
/** @internal */
export declare const ListMetadataFieldsResponse$outboundSchema: z.ZodType<ListMetadataFieldsResponse$Outbound, z.ZodTypeDef, ListMetadataFieldsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListMetadataFieldsResponse$ {
    /** @deprecated use `ListMetadataFieldsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListMetadataFieldsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListMetadataFieldsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListMetadataFieldsResponse$Outbound, z.ZodTypeDef, ListMetadataFieldsResponse>;
    /** @deprecated use `ListMetadataFieldsResponse$Outbound` instead. */
    type Outbound = ListMetadataFieldsResponse$Outbound;
}
export declare function listMetadataFieldsResponseToJSON(listMetadataFieldsResponse: ListMetadataFieldsResponse): string;
export declare function listMetadataFieldsResponseFromJSON(jsonString: string): SafeParseResult<ListMetadataFieldsResponse, SDKValidationError>;
//# sourceMappingURL=listmetadatafields.d.ts.map