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 CreateResultForLineItemRequestBody = {
    results: Array<components.Result>;
};
export type CreateResultForLineItemRequest = {
    /**
     * The sourcedId of the line item
     */
    sourcedId: string;
    requestBody: CreateResultForLineItemRequestBody;
};
export type CreateResultForLineItemSourcedIdPairs = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/**
 * Result successfully created
 */
export type CreateResultForLineItemResponse = {
    sourcedIdPairs: CreateResultForLineItemSourcedIdPairs;
};
/** @internal */
export declare const CreateResultForLineItemRequestBody$inboundSchema: z.ZodType<CreateResultForLineItemRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateResultForLineItemRequestBody$Outbound = {
    results: Array<components.Result$Outbound>;
};
/** @internal */
export declare const CreateResultForLineItemRequestBody$outboundSchema: z.ZodType<CreateResultForLineItemRequestBody$Outbound, z.ZodTypeDef, CreateResultForLineItemRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateResultForLineItemRequestBody$ {
    /** @deprecated use `CreateResultForLineItemRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateResultForLineItemRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateResultForLineItemRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateResultForLineItemRequestBody$Outbound, z.ZodTypeDef, CreateResultForLineItemRequestBody>;
    /** @deprecated use `CreateResultForLineItemRequestBody$Outbound` instead. */
    type Outbound = CreateResultForLineItemRequestBody$Outbound;
}
export declare function createResultForLineItemRequestBodyToJSON(createResultForLineItemRequestBody: CreateResultForLineItemRequestBody): string;
export declare function createResultForLineItemRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateResultForLineItemRequestBody, SDKValidationError>;
/** @internal */
export declare const CreateResultForLineItemRequest$inboundSchema: z.ZodType<CreateResultForLineItemRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateResultForLineItemRequest$Outbound = {
    sourcedId: string;
    RequestBody: CreateResultForLineItemRequestBody$Outbound;
};
/** @internal */
export declare const CreateResultForLineItemRequest$outboundSchema: z.ZodType<CreateResultForLineItemRequest$Outbound, z.ZodTypeDef, CreateResultForLineItemRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateResultForLineItemRequest$ {
    /** @deprecated use `CreateResultForLineItemRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateResultForLineItemRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateResultForLineItemRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateResultForLineItemRequest$Outbound, z.ZodTypeDef, CreateResultForLineItemRequest>;
    /** @deprecated use `CreateResultForLineItemRequest$Outbound` instead. */
    type Outbound = CreateResultForLineItemRequest$Outbound;
}
export declare function createResultForLineItemRequestToJSON(createResultForLineItemRequest: CreateResultForLineItemRequest): string;
export declare function createResultForLineItemRequestFromJSON(jsonString: string): SafeParseResult<CreateResultForLineItemRequest, SDKValidationError>;
/** @internal */
export declare const CreateResultForLineItemSourcedIdPairs$inboundSchema: z.ZodType<CreateResultForLineItemSourcedIdPairs, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateResultForLineItemSourcedIdPairs$Outbound = {
    suppliedSourcedId: string;
    allocatedSourcedId: string;
};
/** @internal */
export declare const CreateResultForLineItemSourcedIdPairs$outboundSchema: z.ZodType<CreateResultForLineItemSourcedIdPairs$Outbound, z.ZodTypeDef, CreateResultForLineItemSourcedIdPairs>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateResultForLineItemSourcedIdPairs$ {
    /** @deprecated use `CreateResultForLineItemSourcedIdPairs$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateResultForLineItemSourcedIdPairs, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateResultForLineItemSourcedIdPairs$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateResultForLineItemSourcedIdPairs$Outbound, z.ZodTypeDef, CreateResultForLineItemSourcedIdPairs>;
    /** @deprecated use `CreateResultForLineItemSourcedIdPairs$Outbound` instead. */
    type Outbound = CreateResultForLineItemSourcedIdPairs$Outbound;
}
export declare function createResultForLineItemSourcedIdPairsToJSON(createResultForLineItemSourcedIdPairs: CreateResultForLineItemSourcedIdPairs): string;
export declare function createResultForLineItemSourcedIdPairsFromJSON(jsonString: string): SafeParseResult<CreateResultForLineItemSourcedIdPairs, SDKValidationError>;
/** @internal */
export declare const CreateResultForLineItemResponse$inboundSchema: z.ZodType<CreateResultForLineItemResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateResultForLineItemResponse$Outbound = {
    sourcedIdPairs: CreateResultForLineItemSourcedIdPairs$Outbound;
};
/** @internal */
export declare const CreateResultForLineItemResponse$outboundSchema: z.ZodType<CreateResultForLineItemResponse$Outbound, z.ZodTypeDef, CreateResultForLineItemResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateResultForLineItemResponse$ {
    /** @deprecated use `CreateResultForLineItemResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateResultForLineItemResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateResultForLineItemResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateResultForLineItemResponse$Outbound, z.ZodTypeDef, CreateResultForLineItemResponse>;
    /** @deprecated use `CreateResultForLineItemResponse$Outbound` instead. */
    type Outbound = CreateResultForLineItemResponse$Outbound;
}
export declare function createResultForLineItemResponseToJSON(createResultForLineItemResponse: CreateResultForLineItemResponse): string;
export declare function createResultForLineItemResponseFromJSON(jsonString: string): SafeParseResult<CreateResultForLineItemResponse, SDKValidationError>;
//# sourceMappingURL=createresultforlineitem.d.ts.map