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 UpdateLineItemRequestBody = {
    /**
     * Represents a line item.
     */
    lineItem: components.LineItem;
};
export type UpdateLineItemRequest = {
    /**
     * The sourcedId of the line item to update
     */
    sourcedId: string;
    requestBody: UpdateLineItemRequestBody;
};
/** @internal */
export declare const UpdateLineItemRequestBody$inboundSchema: z.ZodType<UpdateLineItemRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateLineItemRequestBody$Outbound = {
    lineItem: components.LineItem$Outbound;
};
/** @internal */
export declare const UpdateLineItemRequestBody$outboundSchema: z.ZodType<UpdateLineItemRequestBody$Outbound, z.ZodTypeDef, UpdateLineItemRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateLineItemRequestBody$ {
    /** @deprecated use `UpdateLineItemRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateLineItemRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateLineItemRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateLineItemRequestBody$Outbound, z.ZodTypeDef, UpdateLineItemRequestBody>;
    /** @deprecated use `UpdateLineItemRequestBody$Outbound` instead. */
    type Outbound = UpdateLineItemRequestBody$Outbound;
}
export declare function updateLineItemRequestBodyToJSON(updateLineItemRequestBody: UpdateLineItemRequestBody): string;
export declare function updateLineItemRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateLineItemRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateLineItemRequest$inboundSchema: z.ZodType<UpdateLineItemRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateLineItemRequest$Outbound = {
    sourcedId: string;
    RequestBody: UpdateLineItemRequestBody$Outbound;
};
/** @internal */
export declare const UpdateLineItemRequest$outboundSchema: z.ZodType<UpdateLineItemRequest$Outbound, z.ZodTypeDef, UpdateLineItemRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateLineItemRequest$ {
    /** @deprecated use `UpdateLineItemRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateLineItemRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateLineItemRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateLineItemRequest$Outbound, z.ZodTypeDef, UpdateLineItemRequest>;
    /** @deprecated use `UpdateLineItemRequest$Outbound` instead. */
    type Outbound = UpdateLineItemRequest$Outbound;
}
export declare function updateLineItemRequestToJSON(updateLineItemRequest: UpdateLineItemRequest): string;
export declare function updateLineItemRequestFromJSON(jsonString: string): SafeParseResult<UpdateLineItemRequest, SDKValidationError>;
//# sourceMappingURL=updatelineitem.d.ts.map