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 ListUploadPresetsGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export declare const OrderBy: {
    readonly Name: "name";
    readonly Id: "id";
    readonly UpdatedAt: "updated_at";
};
export type OrderBy = ClosedEnum<typeof OrderBy>;
export declare const Direction: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
export type Direction = ClosedEnum<typeof Direction>;
export type ListUploadPresetsRequest = {
    orderBy?: OrderBy | undefined;
    direction?: Direction | undefined;
    nextCursor?: number | undefined;
};
/**
 * upload presets retrieved
 */
export type ListUploadPresetsResponse = {
    presets: Array<components.UploadPreset>;
};
/** @internal */
export declare const ListUploadPresetsGlobals$inboundSchema: z.ZodType<ListUploadPresetsGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type ListUploadPresetsGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const ListUploadPresetsGlobals$outboundSchema: z.ZodType<ListUploadPresetsGlobals$Outbound, z.ZodTypeDef, ListUploadPresetsGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListUploadPresetsGlobals$ {
    /** @deprecated use `ListUploadPresetsGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListUploadPresetsGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListUploadPresetsGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListUploadPresetsGlobals$Outbound, z.ZodTypeDef, ListUploadPresetsGlobals>;
    /** @deprecated use `ListUploadPresetsGlobals$Outbound` instead. */
    type Outbound = ListUploadPresetsGlobals$Outbound;
}
export declare function listUploadPresetsGlobalsToJSON(listUploadPresetsGlobals: ListUploadPresetsGlobals): string;
export declare function listUploadPresetsGlobalsFromJSON(jsonString: string): SafeParseResult<ListUploadPresetsGlobals, SDKValidationError>;
/** @internal */
export declare const OrderBy$inboundSchema: z.ZodNativeEnum<typeof OrderBy>;
/** @internal */
export declare const OrderBy$outboundSchema: z.ZodNativeEnum<typeof OrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace OrderBy$ {
    /** @deprecated use `OrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Name: "name";
        readonly Id: "id";
        readonly UpdatedAt: "updated_at";
    }>;
    /** @deprecated use `OrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Name: "name";
        readonly Id: "id";
        readonly UpdatedAt: "updated_at";
    }>;
}
/** @internal */
export declare const Direction$inboundSchema: z.ZodNativeEnum<typeof Direction>;
/** @internal */
export declare const Direction$outboundSchema: z.ZodNativeEnum<typeof Direction>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Direction$ {
    /** @deprecated use `Direction$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `Direction$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const ListUploadPresetsRequest$inboundSchema: z.ZodType<ListUploadPresetsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type ListUploadPresetsRequest$Outbound = {
    order_by?: string | undefined;
    direction?: string | undefined;
    next_cursor?: number | undefined;
};
/** @internal */
export declare const ListUploadPresetsRequest$outboundSchema: z.ZodType<ListUploadPresetsRequest$Outbound, z.ZodTypeDef, ListUploadPresetsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListUploadPresetsRequest$ {
    /** @deprecated use `ListUploadPresetsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListUploadPresetsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListUploadPresetsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListUploadPresetsRequest$Outbound, z.ZodTypeDef, ListUploadPresetsRequest>;
    /** @deprecated use `ListUploadPresetsRequest$Outbound` instead. */
    type Outbound = ListUploadPresetsRequest$Outbound;
}
export declare function listUploadPresetsRequestToJSON(listUploadPresetsRequest: ListUploadPresetsRequest): string;
export declare function listUploadPresetsRequestFromJSON(jsonString: string): SafeParseResult<ListUploadPresetsRequest, SDKValidationError>;
/** @internal */
export declare const ListUploadPresetsResponse$inboundSchema: z.ZodType<ListUploadPresetsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type ListUploadPresetsResponse$Outbound = {
    presets: Array<components.UploadPreset$Outbound>;
};
/** @internal */
export declare const ListUploadPresetsResponse$outboundSchema: z.ZodType<ListUploadPresetsResponse$Outbound, z.ZodTypeDef, ListUploadPresetsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ListUploadPresetsResponse$ {
    /** @deprecated use `ListUploadPresetsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ListUploadPresetsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `ListUploadPresetsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ListUploadPresetsResponse$Outbound, z.ZodTypeDef, ListUploadPresetsResponse>;
    /** @deprecated use `ListUploadPresetsResponse$Outbound` instead. */
    type Outbound = ListUploadPresetsResponse$Outbound;
}
export declare function listUploadPresetsResponseToJSON(listUploadPresetsResponse: ListUploadPresetsResponse): string;
export declare function listUploadPresetsResponseFromJSON(jsonString: string): SafeParseResult<ListUploadPresetsResponse, SDKValidationError>;
//# sourceMappingURL=listuploadpresets.d.ts.map