import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type RestoreMetadataFieldDatasourceGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type RestoreMetadataFieldDatasourceRequestBody = {
    /**
     * The external IDs of the datasource values to restore.
     */
    externalIds?: Array<string> | undefined;
};
export type RestoreMetadataFieldDatasourceRequest = {
    /**
     * The external ID of the metadata field to restore the datasource values for.
     */
    externalId: string;
    requestBody: RestoreMetadataFieldDatasourceRequestBody;
};
/** @internal */
export declare const RestoreMetadataFieldDatasourceGlobals$inboundSchema: z.ZodType<RestoreMetadataFieldDatasourceGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type RestoreMetadataFieldDatasourceGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const RestoreMetadataFieldDatasourceGlobals$outboundSchema: z.ZodType<RestoreMetadataFieldDatasourceGlobals$Outbound, z.ZodTypeDef, RestoreMetadataFieldDatasourceGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RestoreMetadataFieldDatasourceGlobals$ {
    /** @deprecated use `RestoreMetadataFieldDatasourceGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RestoreMetadataFieldDatasourceGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `RestoreMetadataFieldDatasourceGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RestoreMetadataFieldDatasourceGlobals$Outbound, z.ZodTypeDef, RestoreMetadataFieldDatasourceGlobals>;
    /** @deprecated use `RestoreMetadataFieldDatasourceGlobals$Outbound` instead. */
    type Outbound = RestoreMetadataFieldDatasourceGlobals$Outbound;
}
export declare function restoreMetadataFieldDatasourceGlobalsToJSON(restoreMetadataFieldDatasourceGlobals: RestoreMetadataFieldDatasourceGlobals): string;
export declare function restoreMetadataFieldDatasourceGlobalsFromJSON(jsonString: string): SafeParseResult<RestoreMetadataFieldDatasourceGlobals, SDKValidationError>;
/** @internal */
export declare const RestoreMetadataFieldDatasourceRequestBody$inboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type RestoreMetadataFieldDatasourceRequestBody$Outbound = {
    external_ids?: Array<string> | undefined;
};
/** @internal */
export declare const RestoreMetadataFieldDatasourceRequestBody$outboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequestBody$Outbound, z.ZodTypeDef, RestoreMetadataFieldDatasourceRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RestoreMetadataFieldDatasourceRequestBody$ {
    /** @deprecated use `RestoreMetadataFieldDatasourceRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `RestoreMetadataFieldDatasourceRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequestBody$Outbound, z.ZodTypeDef, RestoreMetadataFieldDatasourceRequestBody>;
    /** @deprecated use `RestoreMetadataFieldDatasourceRequestBody$Outbound` instead. */
    type Outbound = RestoreMetadataFieldDatasourceRequestBody$Outbound;
}
export declare function restoreMetadataFieldDatasourceRequestBodyToJSON(restoreMetadataFieldDatasourceRequestBody: RestoreMetadataFieldDatasourceRequestBody): string;
export declare function restoreMetadataFieldDatasourceRequestBodyFromJSON(jsonString: string): SafeParseResult<RestoreMetadataFieldDatasourceRequestBody, SDKValidationError>;
/** @internal */
export declare const RestoreMetadataFieldDatasourceRequest$inboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type RestoreMetadataFieldDatasourceRequest$Outbound = {
    external_id: string;
    RequestBody: RestoreMetadataFieldDatasourceRequestBody$Outbound;
};
/** @internal */
export declare const RestoreMetadataFieldDatasourceRequest$outboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequest$Outbound, z.ZodTypeDef, RestoreMetadataFieldDatasourceRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace RestoreMetadataFieldDatasourceRequest$ {
    /** @deprecated use `RestoreMetadataFieldDatasourceRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `RestoreMetadataFieldDatasourceRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<RestoreMetadataFieldDatasourceRequest$Outbound, z.ZodTypeDef, RestoreMetadataFieldDatasourceRequest>;
    /** @deprecated use `RestoreMetadataFieldDatasourceRequest$Outbound` instead. */
    type Outbound = RestoreMetadataFieldDatasourceRequest$Outbound;
}
export declare function restoreMetadataFieldDatasourceRequestToJSON(restoreMetadataFieldDatasourceRequest: RestoreMetadataFieldDatasourceRequest): string;
export declare function restoreMetadataFieldDatasourceRequestFromJSON(jsonString: string): SafeParseResult<RestoreMetadataFieldDatasourceRequest, SDKValidationError>;
//# sourceMappingURL=restoremetadatafielddatasource.d.ts.map