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 UpdateCategoryRequestBody = {
    /**
     * Represents a category.
     */
    category: components.Category;
};
export type UpdateCategoryRequest = {
    /**
     * The sourcedId of the category to update
     */
    sourcedId: string;
    requestBody: UpdateCategoryRequestBody;
};
/**
 * Category successfully updated
 */
export type UpdateCategoryResponse = {
    /**
     * Represents a category.
     */
    category: components.Category;
};
/** @internal */
export declare const UpdateCategoryRequestBody$inboundSchema: z.ZodType<UpdateCategoryRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateCategoryRequestBody$Outbound = {
    category: components.Category$Outbound;
};
/** @internal */
export declare const UpdateCategoryRequestBody$outboundSchema: z.ZodType<UpdateCategoryRequestBody$Outbound, z.ZodTypeDef, UpdateCategoryRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateCategoryRequestBody$ {
    /** @deprecated use `UpdateCategoryRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateCategoryRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateCategoryRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateCategoryRequestBody$Outbound, z.ZodTypeDef, UpdateCategoryRequestBody>;
    /** @deprecated use `UpdateCategoryRequestBody$Outbound` instead. */
    type Outbound = UpdateCategoryRequestBody$Outbound;
}
export declare function updateCategoryRequestBodyToJSON(updateCategoryRequestBody: UpdateCategoryRequestBody): string;
export declare function updateCategoryRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateCategoryRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateCategoryRequest$inboundSchema: z.ZodType<UpdateCategoryRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateCategoryRequest$Outbound = {
    sourcedId: string;
    RequestBody: UpdateCategoryRequestBody$Outbound;
};
/** @internal */
export declare const UpdateCategoryRequest$outboundSchema: z.ZodType<UpdateCategoryRequest$Outbound, z.ZodTypeDef, UpdateCategoryRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateCategoryRequest$ {
    /** @deprecated use `UpdateCategoryRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateCategoryRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateCategoryRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateCategoryRequest$Outbound, z.ZodTypeDef, UpdateCategoryRequest>;
    /** @deprecated use `UpdateCategoryRequest$Outbound` instead. */
    type Outbound = UpdateCategoryRequest$Outbound;
}
export declare function updateCategoryRequestToJSON(updateCategoryRequest: UpdateCategoryRequest): string;
export declare function updateCategoryRequestFromJSON(jsonString: string): SafeParseResult<UpdateCategoryRequest, SDKValidationError>;
/** @internal */
export declare const UpdateCategoryResponse$inboundSchema: z.ZodType<UpdateCategoryResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateCategoryResponse$Outbound = {
    category: components.Category$Outbound;
};
/** @internal */
export declare const UpdateCategoryResponse$outboundSchema: z.ZodType<UpdateCategoryResponse$Outbound, z.ZodTypeDef, UpdateCategoryResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateCategoryResponse$ {
    /** @deprecated use `UpdateCategoryResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateCategoryResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateCategoryResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateCategoryResponse$Outbound, z.ZodTypeDef, UpdateCategoryResponse>;
    /** @deprecated use `UpdateCategoryResponse$Outbound` instead. */
    type Outbound = UpdateCategoryResponse$Outbound;
}
export declare function updateCategoryResponseToJSON(updateCategoryResponse: UpdateCategoryResponse): string;
export declare function updateCategoryResponseFromJSON(jsonString: string): SafeParseResult<UpdateCategoryResponse, SDKValidationError>;
//# sourceMappingURL=updatecategory.d.ts.map