import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Represents an upload mapping
 */
export type UploadMapping = {
    /**
     * The folder name
     */
    folder: string;
    /**
     * The template URL
     */
    template: string;
    /**
     * Unique identifier for the mapping
     */
    externalId: string;
    /**
     * Name of an upload preset if one is associated
     */
    uploadPresetName?: string | null | undefined;
};
/** @internal */
export declare const UploadMapping$inboundSchema: z.ZodType<UploadMapping, z.ZodTypeDef, unknown>;
/** @internal */
export type UploadMapping$Outbound = {
    folder: string;
    template: string;
    external_id: string;
    upload_preset_name?: string | null | undefined;
};
/** @internal */
export declare const UploadMapping$outboundSchema: z.ZodType<UploadMapping$Outbound, z.ZodTypeDef, UploadMapping>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UploadMapping$ {
    /** @deprecated use `UploadMapping$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UploadMapping, z.ZodTypeDef, unknown>;
    /** @deprecated use `UploadMapping$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UploadMapping$Outbound, z.ZodTypeDef, UploadMapping>;
    /** @deprecated use `UploadMapping$Outbound` instead. */
    type Outbound = UploadMapping$Outbound;
}
export declare function uploadMappingToJSON(uploadMapping: UploadMapping): string;
export declare function uploadMappingFromJSON(jsonString: string): SafeParseResult<UploadMapping, SDKValidationError>;
//# sourceMappingURL=uploadmapping.d.ts.map