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 ListUploadMappingsGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type ListUploadMappingsRequest = {
    /**
     * Get details of a specific mapping by folder name
     */
    folder?: string | undefined;
    /**
     * For pagination - value from the previous response to get the next page of results
     */
    nextCursor?: string | undefined;
    /**
     * Maximum number of results to return per request (1-500)
     */
    maxResults?: number | undefined;
};
/**
 * List response
 */
export type ResponseBody = {
    /**
     * Array of upload mapping objects
     */
    mappings: Array<components.UploadMapping>;
    /**
     * Total number of mappings
     */
    totalEntries: number;
    /**
     * Cursor for getting the next page of results
     */
    nextCursor?: string | undefined;
};
/**
 * Upload mappings retrieved successfully
 */
export type ListUploadMappingsResponse = ResponseBody | components.UploadMapping;
/** @internal */
export declare const ListUploadMappingsGlobals$inboundSchema: z.ZodType<ListUploadMappingsGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type ListUploadMappingsGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const ListUploadMappingsGlobals$outboundSchema: z.ZodType<ListUploadMappingsGlobals$Outbound, z.ZodTypeDef, ListUploadMappingsGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListUploadMappingsGlobals$ {
    /** @deprecated use `ListUploadMappingsGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListUploadMappingsGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListUploadMappingsGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListUploadMappingsGlobals$Outbound, z.ZodTypeDef, ListUploadMappingsGlobals>;
    /** @deprecated use `ListUploadMappingsGlobals$Outbound` instead. */
    type Outbound = ListUploadMappingsGlobals$Outbound;
}
export declare function listUploadMappingsGlobalsToJSON(listUploadMappingsGlobals: ListUploadMappingsGlobals): string;
export declare function listUploadMappingsGlobalsFromJSON(jsonString: string): SafeParseResult<ListUploadMappingsGlobals, SDKValidationError>;
/** @internal */
export declare const ListUploadMappingsRequest$inboundSchema: z.ZodType<ListUploadMappingsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type ListUploadMappingsRequest$Outbound = {
    folder?: string | undefined;
    next_cursor?: string | undefined;
    max_results: number;
};
/** @internal */
export declare const ListUploadMappingsRequest$outboundSchema: z.ZodType<ListUploadMappingsRequest$Outbound, z.ZodTypeDef, ListUploadMappingsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListUploadMappingsRequest$ {
    /** @deprecated use `ListUploadMappingsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListUploadMappingsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListUploadMappingsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListUploadMappingsRequest$Outbound, z.ZodTypeDef, ListUploadMappingsRequest>;
    /** @deprecated use `ListUploadMappingsRequest$Outbound` instead. */
    type Outbound = ListUploadMappingsRequest$Outbound;
}
export declare function listUploadMappingsRequestToJSON(listUploadMappingsRequest: ListUploadMappingsRequest): string;
export declare function listUploadMappingsRequestFromJSON(jsonString: string): SafeParseResult<ListUploadMappingsRequest, SDKValidationError>;
/** @internal */
export declare const ResponseBody$inboundSchema: z.ZodType<ResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type ResponseBody$Outbound = {
    mappings: Array<components.UploadMapping$Outbound>;
    total_entries: number;
    next_cursor?: string | undefined;
};
/** @internal */
export declare const ResponseBody$outboundSchema: z.ZodType<ResponseBody$Outbound, z.ZodTypeDef, ResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ResponseBody$ {
    /** @deprecated use `ResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `ResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ResponseBody$Outbound, z.ZodTypeDef, ResponseBody>;
    /** @deprecated use `ResponseBody$Outbound` instead. */
    type Outbound = ResponseBody$Outbound;
}
export declare function responseBodyToJSON(responseBody: ResponseBody): string;
export declare function responseBodyFromJSON(jsonString: string): SafeParseResult<ResponseBody, SDKValidationError>;
/** @internal */
export declare const ListUploadMappingsResponse$inboundSchema: z.ZodType<ListUploadMappingsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type ListUploadMappingsResponse$Outbound = ResponseBody$Outbound | components.UploadMapping$Outbound;
/** @internal */
export declare const ListUploadMappingsResponse$outboundSchema: z.ZodType<ListUploadMappingsResponse$Outbound, z.ZodTypeDef, ListUploadMappingsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListUploadMappingsResponse$ {
    /** @deprecated use `ListUploadMappingsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListUploadMappingsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListUploadMappingsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListUploadMappingsResponse$Outbound, z.ZodTypeDef, ListUploadMappingsResponse>;
    /** @deprecated use `ListUploadMappingsResponse$Outbound` instead. */
    type Outbound = ListUploadMappingsResponse$Outbound;
}
export declare function listUploadMappingsResponseToJSON(listUploadMappingsResponse: ListUploadMappingsResponse): string;
export declare function listUploadMappingsResponseFromJSON(jsonString: string): SafeParseResult<ListUploadMappingsResponse, SDKValidationError>;
//# sourceMappingURL=listuploadmappings.d.ts.map