import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type UpdateFolderGlobals = {
    /**
     * The cloud name of your product environment.
     */
    cloudName?: string | undefined;
};
export type UpdateFolderRequestBody = {
    /**
     * The new path for the folder.
     */
    toFolder: string;
};
export type UpdateFolderRequest = {
    folder: string;
    requestBody: UpdateFolderRequestBody;
};
export type From = {
    /**
     * The name of the source folder.
     */
    name: string;
    /**
     * The full path of the source folder.
     */
    path: string;
};
export type To = {
    /**
     * The name of the target folder.
     */
    name: string;
    /**
     * The full path of the target folder.
     */
    path: string;
};
/**
 * Folder renamed successfully
 */
export type UpdateFolderResponse = {
    from: From;
    to: To;
};
/** @internal */
export declare const UpdateFolderGlobals$inboundSchema: z.ZodType<UpdateFolderGlobals, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateFolderGlobals$Outbound = {
    cloud_name?: string | undefined;
};
/** @internal */
export declare const UpdateFolderGlobals$outboundSchema: z.ZodType<UpdateFolderGlobals$Outbound, z.ZodTypeDef, UpdateFolderGlobals>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateFolderGlobals$ {
    /** @deprecated use `UpdateFolderGlobals$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateFolderGlobals, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateFolderGlobals$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateFolderGlobals$Outbound, z.ZodTypeDef, UpdateFolderGlobals>;
    /** @deprecated use `UpdateFolderGlobals$Outbound` instead. */
    type Outbound = UpdateFolderGlobals$Outbound;
}
export declare function updateFolderGlobalsToJSON(updateFolderGlobals: UpdateFolderGlobals): string;
export declare function updateFolderGlobalsFromJSON(jsonString: string): SafeParseResult<UpdateFolderGlobals, SDKValidationError>;
/** @internal */
export declare const UpdateFolderRequestBody$inboundSchema: z.ZodType<UpdateFolderRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateFolderRequestBody$Outbound = {
    to_folder: string;
};
/** @internal */
export declare const UpdateFolderRequestBody$outboundSchema: z.ZodType<UpdateFolderRequestBody$Outbound, z.ZodTypeDef, UpdateFolderRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateFolderRequestBody$ {
    /** @deprecated use `UpdateFolderRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateFolderRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateFolderRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateFolderRequestBody$Outbound, z.ZodTypeDef, UpdateFolderRequestBody>;
    /** @deprecated use `UpdateFolderRequestBody$Outbound` instead. */
    type Outbound = UpdateFolderRequestBody$Outbound;
}
export declare function updateFolderRequestBodyToJSON(updateFolderRequestBody: UpdateFolderRequestBody): string;
export declare function updateFolderRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateFolderRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateFolderRequest$inboundSchema: z.ZodType<UpdateFolderRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateFolderRequest$Outbound = {
    folder: string;
    RequestBody: UpdateFolderRequestBody$Outbound;
};
/** @internal */
export declare const UpdateFolderRequest$outboundSchema: z.ZodType<UpdateFolderRequest$Outbound, z.ZodTypeDef, UpdateFolderRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateFolderRequest$ {
    /** @deprecated use `UpdateFolderRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateFolderRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateFolderRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateFolderRequest$Outbound, z.ZodTypeDef, UpdateFolderRequest>;
    /** @deprecated use `UpdateFolderRequest$Outbound` instead. */
    type Outbound = UpdateFolderRequest$Outbound;
}
export declare function updateFolderRequestToJSON(updateFolderRequest: UpdateFolderRequest): string;
export declare function updateFolderRequestFromJSON(jsonString: string): SafeParseResult<UpdateFolderRequest, SDKValidationError>;
/** @internal */
export declare const From$inboundSchema: z.ZodType<From, z.ZodTypeDef, unknown>;
/** @internal */
export type From$Outbound = {
    name: string;
    path: string;
};
/** @internal */
export declare const From$outboundSchema: z.ZodType<From$Outbound, z.ZodTypeDef, From>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace From$ {
    /** @deprecated use `From$inboundSchema` instead. */
    const inboundSchema: z.ZodType<From, z.ZodTypeDef, unknown>;
    /** @deprecated use `From$outboundSchema` instead. */
    const outboundSchema: z.ZodType<From$Outbound, z.ZodTypeDef, From>;
    /** @deprecated use `From$Outbound` instead. */
    type Outbound = From$Outbound;
}
export declare function fromToJSON(from: From): string;
export declare function fromFromJSON(jsonString: string): SafeParseResult<From, SDKValidationError>;
/** @internal */
export declare const To$inboundSchema: z.ZodType<To, z.ZodTypeDef, unknown>;
/** @internal */
export type To$Outbound = {
    name: string;
    path: string;
};
/** @internal */
export declare const To$outboundSchema: z.ZodType<To$Outbound, z.ZodTypeDef, To>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace To$ {
    /** @deprecated use `To$inboundSchema` instead. */
    const inboundSchema: z.ZodType<To, z.ZodTypeDef, unknown>;
    /** @deprecated use `To$outboundSchema` instead. */
    const outboundSchema: z.ZodType<To$Outbound, z.ZodTypeDef, To>;
    /** @deprecated use `To$Outbound` instead. */
    type Outbound = To$Outbound;
}
export declare function toToJSON(to: To): string;
export declare function toFromJSON(jsonString: string): SafeParseResult<To, SDKValidationError>;
/** @internal */
export declare const UpdateFolderResponse$inboundSchema: z.ZodType<UpdateFolderResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateFolderResponse$Outbound = {
    from: From$Outbound;
    to: To$Outbound;
};
/** @internal */
export declare const UpdateFolderResponse$outboundSchema: z.ZodType<UpdateFolderResponse$Outbound, z.ZodTypeDef, UpdateFolderResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateFolderResponse$ {
    /** @deprecated use `UpdateFolderResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateFolderResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateFolderResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateFolderResponse$Outbound, z.ZodTypeDef, UpdateFolderResponse>;
    /** @deprecated use `UpdateFolderResponse$Outbound` instead. */
    type Outbound = UpdateFolderResponse$Outbound;
}
export declare function updateFolderResponseToJSON(updateFolderResponse: UpdateFolderResponse): string;
export declare function updateFolderResponseFromJSON(jsonString: string): SafeParseResult<UpdateFolderResponse, SDKValidationError>;
//# sourceMappingURL=updatefolder.d.ts.map