import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The order to sort the response by
 */
export declare const GetAllLineItemsOrderBy: {
    readonly Asc: "asc";
    readonly Desc: "desc";
};
/**
 * The order to sort the response by
 */
export type GetAllLineItemsOrderBy = ClosedEnum<typeof GetAllLineItemsOrderBy>;
export type GetAllLineItemsRequest = {
    /**
     * Comma-separated list of fields to include in the response
     */
    fields?: string | undefined;
    /**
     * The maximum number of items to return in the paginated response
     */
    limit?: number | undefined;
    /**
     * The number of items to skip in the paginated response
     */
    offset?: number | undefined;
    /**
     * The field to sort the response by
     */
    sort?: string | undefined;
    /**
     * The order to sort the response by
     */
    orderBy?: GetAllLineItemsOrderBy | undefined;
    /**
     * The filter to apply to the response
     */
    filter?: string | undefined;
    /**
     * The search query to apply to the response
     */
    search?: string | undefined;
};
/**
 * Successful response containing a collection of line items
 */
export type GetAllLineItemsResponseBody = {
    lineItems: Array<components.LineItem>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
export type GetAllLineItemsResponse = {
    result: GetAllLineItemsResponseBody;
};
/** @internal */
export declare const GetAllLineItemsOrderBy$inboundSchema: z.ZodNativeEnum<typeof GetAllLineItemsOrderBy>;
/** @internal */
export declare const GetAllLineItemsOrderBy$outboundSchema: z.ZodNativeEnum<typeof GetAllLineItemsOrderBy>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllLineItemsOrderBy$ {
    /** @deprecated use `GetAllLineItemsOrderBy$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
    /** @deprecated use `GetAllLineItemsOrderBy$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Asc: "asc";
        readonly Desc: "desc";
    }>;
}
/** @internal */
export declare const GetAllLineItemsRequest$inboundSchema: z.ZodType<GetAllLineItemsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllLineItemsRequest$Outbound = {
    fields?: string | undefined;
    limit: number;
    offset: number;
    sort?: string | undefined;
    orderBy?: string | undefined;
    filter?: string | undefined;
    search?: string | undefined;
};
/** @internal */
export declare const GetAllLineItemsRequest$outboundSchema: z.ZodType<GetAllLineItemsRequest$Outbound, z.ZodTypeDef, GetAllLineItemsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllLineItemsRequest$ {
    /** @deprecated use `GetAllLineItemsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllLineItemsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllLineItemsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllLineItemsRequest$Outbound, z.ZodTypeDef, GetAllLineItemsRequest>;
    /** @deprecated use `GetAllLineItemsRequest$Outbound` instead. */
    type Outbound = GetAllLineItemsRequest$Outbound;
}
export declare function getAllLineItemsRequestToJSON(getAllLineItemsRequest: GetAllLineItemsRequest): string;
export declare function getAllLineItemsRequestFromJSON(jsonString: string): SafeParseResult<GetAllLineItemsRequest, SDKValidationError>;
/** @internal */
export declare const GetAllLineItemsResponseBody$inboundSchema: z.ZodType<GetAllLineItemsResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllLineItemsResponseBody$Outbound = {
    lineItems: Array<components.LineItem$Outbound>;
    totalCount: number;
    pageCount: number;
    pageNumber: number;
    offset: number;
    limit: number;
};
/** @internal */
export declare const GetAllLineItemsResponseBody$outboundSchema: z.ZodType<GetAllLineItemsResponseBody$Outbound, z.ZodTypeDef, GetAllLineItemsResponseBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllLineItemsResponseBody$ {
    /** @deprecated use `GetAllLineItemsResponseBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllLineItemsResponseBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllLineItemsResponseBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllLineItemsResponseBody$Outbound, z.ZodTypeDef, GetAllLineItemsResponseBody>;
    /** @deprecated use `GetAllLineItemsResponseBody$Outbound` instead. */
    type Outbound = GetAllLineItemsResponseBody$Outbound;
}
export declare function getAllLineItemsResponseBodyToJSON(getAllLineItemsResponseBody: GetAllLineItemsResponseBody): string;
export declare function getAllLineItemsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetAllLineItemsResponseBody, SDKValidationError>;
/** @internal */
export declare const GetAllLineItemsResponse$inboundSchema: z.ZodType<GetAllLineItemsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetAllLineItemsResponse$Outbound = {
    Result: GetAllLineItemsResponseBody$Outbound;
};
/** @internal */
export declare const GetAllLineItemsResponse$outboundSchema: z.ZodType<GetAllLineItemsResponse$Outbound, z.ZodTypeDef, GetAllLineItemsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetAllLineItemsResponse$ {
    /** @deprecated use `GetAllLineItemsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetAllLineItemsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetAllLineItemsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetAllLineItemsResponse$Outbound, z.ZodTypeDef, GetAllLineItemsResponse>;
    /** @deprecated use `GetAllLineItemsResponse$Outbound` instead. */
    type Outbound = GetAllLineItemsResponse$Outbound;
}
export declare function getAllLineItemsResponseToJSON(getAllLineItemsResponse: GetAllLineItemsResponse): string;
export declare function getAllLineItemsResponseFromJSON(jsonString: string): SafeParseResult<GetAllLineItemsResponse, SDKValidationError>;
//# sourceMappingURL=getalllineitems.d.ts.map