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 CreateLineItemRequest = {
    /**
     * Represents a line item.
     */
    lineItem: components.LineItem;
};
export type CreateLineItemSourcedIdPairs = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/**
 * Line item successfully created
 */
export type CreateLineItemResponse = {
    sourcedIdPairs: CreateLineItemSourcedIdPairs;
};
/** @internal */
export declare const CreateLineItemRequest$inboundSchema: z.ZodType<CreateLineItemRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateLineItemRequest$Outbound = {
    lineItem: components.LineItem$Outbound;
};
/** @internal */
export declare const CreateLineItemRequest$outboundSchema: z.ZodType<CreateLineItemRequest$Outbound, z.ZodTypeDef, CreateLineItemRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateLineItemRequest$ {
    /** @deprecated use `CreateLineItemRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateLineItemRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateLineItemRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateLineItemRequest$Outbound, z.ZodTypeDef, CreateLineItemRequest>;
    /** @deprecated use `CreateLineItemRequest$Outbound` instead. */
    type Outbound = CreateLineItemRequest$Outbound;
}
export declare function createLineItemRequestToJSON(createLineItemRequest: CreateLineItemRequest): string;
export declare function createLineItemRequestFromJSON(jsonString: string): SafeParseResult<CreateLineItemRequest, SDKValidationError>;
/** @internal */
export declare const CreateLineItemSourcedIdPairs$inboundSchema: z.ZodType<CreateLineItemSourcedIdPairs, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateLineItemSourcedIdPairs$Outbound = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/** @internal */
export declare const CreateLineItemSourcedIdPairs$outboundSchema: z.ZodType<CreateLineItemSourcedIdPairs$Outbound, z.ZodTypeDef, CreateLineItemSourcedIdPairs>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateLineItemSourcedIdPairs$ {
    /** @deprecated use `CreateLineItemSourcedIdPairs$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateLineItemSourcedIdPairs, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateLineItemSourcedIdPairs$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateLineItemSourcedIdPairs$Outbound, z.ZodTypeDef, CreateLineItemSourcedIdPairs>;
    /** @deprecated use `CreateLineItemSourcedIdPairs$Outbound` instead. */
    type Outbound = CreateLineItemSourcedIdPairs$Outbound;
}
export declare function createLineItemSourcedIdPairsToJSON(createLineItemSourcedIdPairs: CreateLineItemSourcedIdPairs): string;
export declare function createLineItemSourcedIdPairsFromJSON(jsonString: string): SafeParseResult<CreateLineItemSourcedIdPairs, SDKValidationError>;
/** @internal */
export declare const CreateLineItemResponse$inboundSchema: z.ZodType<CreateLineItemResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateLineItemResponse$Outbound = {
    sourcedIdPairs: CreateLineItemSourcedIdPairs$Outbound;
};
/** @internal */
export declare const CreateLineItemResponse$outboundSchema: z.ZodType<CreateLineItemResponse$Outbound, z.ZodTypeDef, CreateLineItemResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateLineItemResponse$ {
    /** @deprecated use `CreateLineItemResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateLineItemResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateLineItemResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateLineItemResponse$Outbound, z.ZodTypeDef, CreateLineItemResponse>;
    /** @deprecated use `CreateLineItemResponse$Outbound` instead. */
    type Outbound = CreateLineItemResponse$Outbound;
}
export declare function createLineItemResponseToJSON(createLineItemResponse: CreateLineItemResponse): string;
export declare function createLineItemResponseFromJSON(jsonString: string): SafeParseResult<CreateLineItemResponse, SDKValidationError>;
//# sourceMappingURL=createlineitem.d.ts.map