import * as Schema from "effect/Schema";
export declare const GetCreditNotesIdInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly expand: Schema.optional<Schema.String>;
}>;
export type GetCreditNotesIdInput = typeof GetCreditNotesIdInput.Type;
export declare const GetCreditNotesIdOutput: Schema.Struct<{
    readonly amount: Schema.Number;
    readonly amount_shipping: Schema.Number;
    readonly created: Schema.Number;
    readonly currency: Schema.String;
    readonly customer: Schema.Unknown;
    readonly customer_account: Schema.NullOr<Schema.String>;
    readonly customer_balance_transaction: Schema.Unknown;
    readonly discount_amount: Schema.Number;
    readonly discount_amounts: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly discount: Schema.Unknown;
    }>>;
    readonly effective_at: Schema.NullOr<Schema.Number>;
    readonly id: Schema.String;
    readonly invoice: Schema.Unknown;
    readonly lines: Schema.Struct<{
        readonly data: Schema.$Array<Schema.Struct<{
            readonly amount: Schema.Number;
            readonly description: Schema.NullOr<Schema.String>;
            readonly discount_amount: Schema.Number;
            readonly discount_amounts: Schema.$Array<Schema.Struct<{
                readonly amount: Schema.Number;
                readonly discount: Schema.Unknown;
            }>>;
            readonly id: Schema.String;
            readonly invoice_line_item: Schema.optional<Schema.String>;
            readonly livemode: Schema.Boolean;
            readonly object: Schema.Literals<readonly ["credit_note_line_item"]>;
            readonly pretax_credit_amounts: 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 quantity: Schema.NullOr<Schema.Number>;
            readonly tax_rates: 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 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"]>;
            }>>>;
            readonly type: Schema.Literals<readonly ["custom_line_item", "invoice_line_item"]>;
            readonly unit_amount: Schema.NullOr<Schema.Number>;
            readonly unit_amount_decimal: Schema.NullOr<Schema.String>;
        }>>;
        readonly has_more: Schema.Boolean;
        readonly object: Schema.Literals<readonly ["list"]>;
        readonly url: Schema.String;
    }>;
    readonly livemode: Schema.Boolean;
    readonly memo: Schema.NullOr<Schema.String>;
    readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
    readonly number: Schema.String;
    readonly object: Schema.Literals<readonly ["credit_note"]>;
    readonly out_of_band_amount: Schema.NullOr<Schema.Number>;
    readonly pdf: Schema.String;
    readonly post_payment_amount: Schema.Number;
    readonly pre_payment_amount: Schema.Number;
    readonly pretax_credit_amounts: 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 reason: Schema.NullOr<Schema.Literals<readonly ["duplicate", "fraudulent", "order_change", "product_unsatisfactory"]>>;
    readonly refunds: Schema.$Array<Schema.Struct<{
        readonly amount_refunded: Schema.Number;
        readonly payment_record_refund: Schema.Unknown;
        readonly refund: Schema.Unknown;
        readonly type: Schema.NullOr<Schema.Literals<readonly ["payment_record_refund", "refund"]>>;
    }>>;
    readonly shipping_cost: Schema.Unknown;
    readonly status: Schema.Literals<readonly ["issued", "void"]>;
    readonly subtotal: Schema.Number;
    readonly subtotal_excluding_tax: Schema.NullOr<Schema.Number>;
    readonly total: Schema.Number;
    readonly total_excluding_tax: Schema.NullOr<Schema.Number>;
    readonly total_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"]>;
    }>>>;
    readonly type: Schema.Literals<readonly ["mixed", "post_payment", "pre_payment"]>;
    readonly voided_at: Schema.NullOr<Schema.Number>;
}>;
export type GetCreditNotesIdOutput = typeof GetCreditNotesIdOutput.Type;
/**
 * Retrieve a credit note
 *
 * <p>Retrieves the credit note object with the given identifier.</p>
 *
 * @param expand - Specifies which fields in the response should be expanded.
 */
export declare const GetCreditNotesId: any;
//# sourceMappingURL=GetCreditNotesId.d.ts.map