import * as Schema from "effect/Schema";
export declare const PostInvoicesInvoiceLinesLineItemIdInput: Schema.Struct<{
    readonly invoice: Schema.String;
    readonly line_item_id: Schema.String;
    readonly amount: Schema.optional<Schema.Number>;
    readonly description: Schema.optional<Schema.String>;
    readonly discountable: Schema.optional<Schema.Boolean>;
    readonly discounts: Schema.optional<Schema.Unknown>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly metadata: Schema.optional<Schema.Unknown>;
    readonly period: Schema.optional<Schema.Struct<{
        readonly end: Schema.Number;
        readonly start: Schema.Number;
    }>>;
    readonly price_data: Schema.optional<Schema.Struct<{
        readonly currency: Schema.String;
        readonly product: Schema.optional<Schema.String>;
        readonly product_data: Schema.optional<Schema.Struct<{
            readonly description: Schema.optional<Schema.String>;
            readonly images: Schema.optional<Schema.$Array<Schema.String>>;
            readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
            readonly name: Schema.String;
            readonly tax_code: Schema.optional<Schema.String>;
            readonly unit_label: Schema.optional<Schema.String>;
        }>>;
        readonly tax_behavior: Schema.optional<Schema.Literals<readonly ["exclusive", "inclusive", "unspecified"]>>;
        readonly unit_amount: Schema.optional<Schema.Number>;
        readonly unit_amount_decimal: Schema.optional<Schema.String>;
    }>>;
    readonly pricing: Schema.optional<Schema.Struct<{
        readonly price: Schema.optional<Schema.String>;
    }>>;
    readonly quantity: Schema.optional<Schema.Number>;
    readonly quantity_decimal: Schema.optional<Schema.String>;
    readonly tax_amounts: Schema.optional<Schema.Unknown>;
    readonly tax_rates: Schema.optional<Schema.Unknown>;
}>;
export type PostInvoicesInvoiceLinesLineItemIdInput = typeof PostInvoicesInvoiceLinesLineItemIdInput.Type;
export declare const PostInvoicesInvoiceLinesLineItemIdOutput: Schema.Struct<{
    readonly amount: Schema.Number;
    readonly currency: Schema.String;
    readonly description: Schema.NullOr<Schema.String>;
    readonly discount_amounts: Schema.NullOr<Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly discount: Schema.Unknown;
    }>>>;
    readonly discountable: Schema.Boolean;
    readonly discounts: Schema.$Array<Schema.Unknown>;
    readonly id: Schema.String;
    readonly invoice: Schema.NullOr<Schema.String>;
    readonly livemode: Schema.Boolean;
    readonly metadata: Schema.$Record<Schema.String, Schema.String>;
    readonly object: Schema.Literals<readonly ["line_item"]>;
    readonly parent: Schema.Unknown;
    readonly period: Schema.Struct<{
        readonly end: Schema.Number;
        readonly start: Schema.Number;
    }>;
    readonly pretax_credit_amounts: Schema.NullOr<Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly credit_balance_transaction: Schema.optional<Schema.Unknown>;
        readonly discount: Schema.optional<Schema.Unknown>;
        readonly type: Schema.Literals<readonly ["credit_balance_transaction", "discount"]>;
    }>>>;
    readonly pricing: Schema.Unknown;
    readonly quantity: Schema.NullOr<Schema.Number>;
    readonly quantity_decimal: Schema.NullOr<Schema.String>;
    readonly subscription: Schema.Unknown;
    readonly subtotal: Schema.Number;
    readonly taxes: Schema.NullOr<Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly tax_behavior: Schema.Literals<readonly ["exclusive", "inclusive"]>;
        readonly tax_rate_details: Schema.Unknown;
        readonly taxability_reason: Schema.Literals<readonly ["customer_exempt", "not_available", "not_collecting", "not_subject_to_tax", "not_supported", "portion_product_exempt", "portion_reduced_rated", "portion_standard_rated", "product_exempt", "product_exempt_holiday", "proportionally_rated", "reduced_rated", "reverse_charge", "standard_rated", "taxable_basis_reduced", "zero_rated"]>;
        readonly taxable_amount: Schema.NullOr<Schema.Number>;
        readonly type: Schema.Literals<readonly ["tax_rate_details"]>;
    }>>>;
}>;
export type PostInvoicesInvoiceLinesLineItemIdOutput = typeof PostInvoicesInvoiceLinesLineItemIdOutput.Type;
/**
 * Update an invoice's line item
 *
 * <p>Updates an invoice’s line item. Some fields, such as <code>tax_amounts</code>, only live on the invoice line item,
 * so they can only be updated through this endpoint. Other fields, such as <code>amount</code>, live on both the invoice
 * item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well.
 * Updating an invoice’s line item is only possible before the invoice is finalized.</p>
 *
 * @param invoice - Invoice ID of line item
 * @param line_item_id - Invoice line item ID
 */
export declare const PostInvoicesInvoiceLinesLineItemId: import("@distilled.cloud/core/client").OperationMethod<{
    readonly amount?: number | undefined;
    readonly description?: string | undefined;
    readonly discountable?: boolean | undefined;
    readonly discounts?: unknown;
    readonly expand?: readonly string[] | undefined;
    readonly invoice: string;
    readonly line_item_id: string;
    readonly metadata?: unknown;
    readonly period?: {
        readonly end: number;
        readonly start: number;
    } | undefined;
    readonly price_data?: {
        readonly currency: string;
        readonly product?: string | undefined;
        readonly product_data?: {
            readonly description?: string | undefined;
            readonly images?: readonly string[] | undefined;
            readonly metadata?: {
                readonly [x: string]: string;
            } | undefined;
            readonly name: string;
            readonly tax_code?: string | undefined;
            readonly unit_label?: string | undefined;
        } | undefined;
        readonly tax_behavior?: "exclusive" | "inclusive" | "unspecified" | undefined;
        readonly unit_amount?: number | undefined;
        readonly unit_amount_decimal?: string | undefined;
    } | undefined;
    readonly pricing?: {
        readonly price?: string | undefined;
    } | undefined;
    readonly quantity?: number | undefined;
    readonly quantity_decimal?: string | undefined;
    readonly tax_amounts?: unknown;
    readonly tax_rates?: unknown;
}, {
    readonly amount: number;
    readonly currency: string;
    readonly description: string | null;
    readonly discount_amounts: readonly {
        readonly amount: number;
        readonly discount: unknown;
    }[] | null;
    readonly discountable: boolean;
    readonly discounts: readonly unknown[];
    readonly id: string;
    readonly invoice: string | null;
    readonly livemode: boolean;
    readonly metadata: {
        readonly [x: string]: string;
    };
    readonly object: "line_item";
    readonly parent: unknown;
    readonly period: {
        readonly end: number;
        readonly start: number;
    };
    readonly pretax_credit_amounts: readonly {
        readonly amount: number;
        readonly credit_balance_transaction?: unknown;
        readonly discount?: unknown;
        readonly type: "credit_balance_transaction" | "discount";
    }[] | null;
    readonly pricing: unknown;
    readonly quantity: number | null;
    readonly quantity_decimal: string | null;
    readonly subscription: unknown;
    readonly subtotal: number;
    readonly taxes: readonly {
        readonly amount: number;
        readonly tax_behavior: "exclusive" | "inclusive";
        readonly tax_rate_details: unknown;
        readonly taxability_reason: "customer_exempt" | "not_available" | "not_collecting" | "not_subject_to_tax" | "not_supported" | "portion_product_exempt" | "portion_reduced_rated" | "portion_standard_rated" | "product_exempt" | "product_exempt_holiday" | "proportionally_rated" | "reduced_rated" | "reverse_charge" | "standard_rated" | "taxable_basis_reduced" | "zero_rated";
        readonly taxable_amount: number | null;
        readonly type: "tax_rate_details";
    }[] | null;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=PostInvoicesInvoiceLinesLineItemId.d.ts.map