import * as Schema from "effect/Schema";
export declare const GetInvoiceitemsInput: Schema.Struct<{
    readonly created: Schema.optional<Schema.String>;
    readonly customer: Schema.optional<Schema.String>;
    readonly customer_account: Schema.optional<Schema.String>;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly invoice: Schema.optional<Schema.String>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly pending: Schema.optional<Schema.Boolean>;
    readonly starting_after: Schema.optional<Schema.String>;
}>;
export type GetInvoiceitemsInput = typeof GetInvoiceitemsInput.Type;
export declare const GetInvoiceitemsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly currency: Schema.String;
        readonly customer: Schema.Unknown;
        readonly customer_account: Schema.NullOr<Schema.String>;
        readonly date: Schema.Number;
        readonly description: Schema.NullOr<Schema.String>;
        readonly discountable: Schema.Boolean;
        readonly discounts: Schema.NullOr<Schema.$Array<Schema.Unknown>>;
        readonly id: Schema.String;
        readonly invoice: Schema.Unknown;
        readonly livemode: Schema.Boolean;
        readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
        readonly net_amount: Schema.optional<Schema.Number>;
        readonly object: Schema.Literals<readonly ["invoiceitem"]>;
        readonly parent: Schema.Unknown;
        readonly period: Schema.Struct<{
            readonly end: Schema.Number;
            readonly start: Schema.Number;
        }>;
        readonly pricing: Schema.Unknown;
        readonly proration: Schema.Boolean;
        readonly proration_details: Schema.optional<Schema.Struct<{
            readonly discount_amounts: Schema.$Array<Schema.Struct<{
                readonly amount: Schema.Number;
                readonly discount: Schema.Unknown;
            }>>;
        }>>;
        readonly quantity: Schema.Number;
        readonly quantity_decimal: Schema.String;
        readonly tax_rates: Schema.NullOr<Schema.$Array<Schema.Struct<{
            readonly active: Schema.Boolean;
            readonly country: Schema.NullOr<Schema.String>;
            readonly created: Schema.Number;
            readonly description: Schema.NullOr<Schema.String>;
            readonly display_name: Schema.String;
            readonly effective_percentage: Schema.NullOr<Schema.Number>;
            readonly flat_amount: Schema.Unknown;
            readonly id: Schema.String;
            readonly inclusive: Schema.Boolean;
            readonly jurisdiction: Schema.NullOr<Schema.String>;
            readonly jurisdiction_level: Schema.NullOr<Schema.Literals<readonly ["city", "country", "county", "district", "multiple", "state"]>>;
            readonly livemode: Schema.Boolean;
            readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
            readonly object: Schema.Literals<readonly ["tax_rate"]>;
            readonly percentage: Schema.Number;
            readonly rate_type: Schema.NullOr<Schema.Literals<readonly ["flat_amount", "percentage"]>>;
            readonly state: Schema.NullOr<Schema.String>;
            readonly tax_type: Schema.NullOr<Schema.Literals<readonly ["amusement_tax", "communications_tax", "gst", "hst", "igst", "jct", "lease_tax", "pst", "qst", "retail_delivery_fee", "rst", "sales_tax", "service_tax", "vat"]>>;
        }>>>;
        readonly test_clock: Schema.Unknown;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetInvoiceitemsOutput = typeof GetInvoiceitemsOutput.Type;
/**
 * List all invoice items
 *
 * <p>Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first.</p>
 *
 * @param created - Only return invoice items that were created during the given date interval.
 * @param customer - The identifier of the customer whose invoice items to return. If none is provided, returns all invoice items.
 * @param customer_account - The identifier of the account representing the customer whose invoice items to return. If none is provided, returns all invoice items.
 * @param ending_before - A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
 * @param expand - Specifies which fields in the response should be expanded.
 * @param invoice - Only return invoice items belonging to this invoice. If none is provided, all invoice items will be returned. If specifying an invoice, no customer identifier is needed.
 * @param limit - A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
 * @param pending - Set to `true` to only show pending invoice items, which are not yet attached to any invoices. Set to `false` to only show invoice items already attached to invoices. If unspecified, no filter is applied.
 * @param starting_after - A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
 */
export declare const GetInvoiceitems: import("@distilled.cloud/core/client").OperationMethod<{
    readonly created?: string | undefined;
    readonly customer?: string | undefined;
    readonly customer_account?: string | undefined;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly invoice?: string | undefined;
    readonly limit?: number | undefined;
    readonly pending?: boolean | undefined;
    readonly starting_after?: string | undefined;
}, {
    readonly data: readonly {
        readonly amount: number;
        readonly currency: string;
        readonly customer: unknown;
        readonly customer_account: string | null;
        readonly date: number;
        readonly description: string | null;
        readonly discountable: boolean;
        readonly discounts: readonly unknown[] | null;
        readonly id: string;
        readonly invoice: unknown;
        readonly livemode: boolean;
        readonly metadata: {
            readonly [x: string]: string;
        } | null;
        readonly net_amount?: number | undefined;
        readonly object: "invoiceitem";
        readonly parent: unknown;
        readonly period: {
            readonly end: number;
            readonly start: number;
        };
        readonly pricing: unknown;
        readonly proration: boolean;
        readonly proration_details?: {
            readonly discount_amounts: readonly {
                readonly amount: number;
                readonly discount: unknown;
            }[];
        } | undefined;
        readonly quantity: number;
        readonly quantity_decimal: string;
        readonly tax_rates: readonly {
            readonly active: boolean;
            readonly country: string | null;
            readonly created: number;
            readonly description: string | null;
            readonly display_name: string;
            readonly effective_percentage: number | null;
            readonly flat_amount: unknown;
            readonly id: string;
            readonly inclusive: boolean;
            readonly jurisdiction: string | null;
            readonly jurisdiction_level: "city" | "country" | "county" | "district" | "multiple" | "state" | null;
            readonly livemode: boolean;
            readonly metadata: {
                readonly [x: string]: string;
            } | null;
            readonly object: "tax_rate";
            readonly percentage: number;
            readonly rate_type: "flat_amount" | "percentage" | null;
            readonly state: string | null;
            readonly tax_type: "amusement_tax" | "communications_tax" | "gst" | "hst" | "igst" | "jct" | "lease_tax" | "pst" | "qst" | "retail_delivery_fee" | "rst" | "sales_tax" | "service_tax" | "vat" | null;
        }[] | null;
        readonly test_clock: unknown;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetInvoiceitems.d.ts.map