import * as Schema from "effect/Schema";
export declare const PostTaxTransactionsCreateReversalInput: Schema.Struct<{
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly flat_amount: Schema.optional<Schema.Number>;
    readonly line_items: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly amount_tax: Schema.Number;
        readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
        readonly original_line_item: Schema.String;
        readonly quantity: Schema.optional<Schema.Number>;
        readonly reference: Schema.String;
    }>>>;
    readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
    readonly mode: Schema.Literals<readonly ["full", "partial"]>;
    readonly original_transaction: Schema.String;
    readonly reference: Schema.String;
    readonly shipping_cost: Schema.optional<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly amount_tax: Schema.Number;
    }>>;
}>;
export type PostTaxTransactionsCreateReversalInput = typeof PostTaxTransactionsCreateReversalInput.Type;
export declare const PostTaxTransactionsCreateReversalOutput: Schema.Struct<{
    readonly created: Schema.Number;
    readonly currency: Schema.String;
    readonly customer: Schema.NullOr<Schema.String>;
    readonly customer_details: Schema.Struct<{
        readonly address: Schema.Unknown;
        readonly address_source: Schema.NullOr<Schema.Literals<readonly ["billing", "shipping"]>>;
        readonly ip_address: Schema.NullOr<Schema.String>;
        readonly tax_ids: Schema.$Array<Schema.Struct<{
            readonly type: Schema.Literals<readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "au_abn", "au_arn", "aw_tin", "az_tin", "ba_tin", "bb_tin", "bd_bin", "bf_ifu", "bg_uic", "bh_vat", "bj_ifu", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cm_niu", "cn_tin", "co_nit", "cr_tin", "cv_nif", "de_stn", "do_rcn", "ec_ruc", "eg_tin", "es_cif", "et_tin", "eu_oss_vat", "eu_vat", "gb_vat", "ge_vat", "gn_nif", "hk_br", "hr_oib", "hu_tin", "id_npwp", "il_vat", "in_gst", "is_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kg_tin", "kh_tin", "kr_brn", "kz_bin", "la_tin", "li_uid", "li_vat", "lk_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_nip", "ro_tin", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "sg_gst", "sg_uen", "si_tin", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "unknown", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "za_vat", "zm_tin", "zw_tin"]>;
            readonly value: Schema.String;
        }>>;
        readonly taxability_override: Schema.Literals<readonly ["customer_exempt", "none", "reverse_charge"]>;
    }>;
    readonly id: Schema.String;
    readonly line_items: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly data: Schema.$Array<Schema.Struct<{
            readonly amount: Schema.Number;
            readonly amount_tax: Schema.Number;
            readonly id: Schema.String;
            readonly livemode: Schema.Boolean;
            readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
            readonly object: Schema.Literals<readonly ["tax.transaction_line_item"]>;
            readonly product: Schema.NullOr<Schema.String>;
            readonly quantity: Schema.Number;
            readonly reference: Schema.String;
            readonly reversal: Schema.Unknown;
            readonly tax_behavior: Schema.Literals<readonly ["exclusive", "inclusive"]>;
            readonly tax_code: Schema.String;
            readonly type: Schema.Literals<readonly ["reversal", "transaction"]>;
        }>>;
        readonly has_more: Schema.Boolean;
        readonly object: Schema.Literals<readonly ["list"]>;
        readonly url: Schema.String;
    }>>>;
    readonly livemode: Schema.Boolean;
    readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
    readonly object: Schema.Literals<readonly ["tax.transaction"]>;
    readonly posted_at: Schema.Number;
    readonly reference: Schema.String;
    readonly reversal: Schema.Unknown;
    readonly ship_from_details: Schema.Unknown;
    readonly shipping_cost: Schema.Unknown;
    readonly tax_date: Schema.Number;
    readonly type: Schema.Literals<readonly ["reversal", "transaction"]>;
}>;
export type PostTaxTransactionsCreateReversalOutput = typeof PostTaxTransactionsCreateReversalOutput.Type;
/**
 * Create a reversal transaction
 *
 * <p>Partially or fully reverses a previously created <code>Transaction</code>.</p>
 */
export declare const PostTaxTransactionsCreateReversal: import("@distilled.cloud/core/client").OperationMethod<{
    readonly expand?: readonly string[] | undefined;
    readonly flat_amount?: number | undefined;
    readonly line_items?: readonly {
        readonly amount: number;
        readonly amount_tax: number;
        readonly metadata?: {
            readonly [x: string]: string;
        } | undefined;
        readonly original_line_item: string;
        readonly quantity?: number | undefined;
        readonly reference: string;
    }[] | undefined;
    readonly metadata?: {
        readonly [x: string]: string;
    } | undefined;
    readonly mode: "full" | "partial";
    readonly original_transaction: string;
    readonly reference: string;
    readonly shipping_cost?: {
        readonly amount: number;
        readonly amount_tax: number;
    } | undefined;
}, {
    readonly created: number;
    readonly currency: string;
    readonly customer: string | null;
    readonly customer_details: {
        readonly address: unknown;
        readonly address_source: "billing" | "shipping" | null;
        readonly ip_address: string | null;
        readonly tax_ids: readonly {
            readonly type: "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "au_abn" | "au_arn" | "aw_tin" | "az_tin" | "ba_tin" | "bb_tin" | "bd_bin" | "bf_ifu" | "bg_uic" | "bh_vat" | "bj_ifu" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cm_niu" | "cn_tin" | "co_nit" | "cr_tin" | "cv_nif" | "de_stn" | "do_rcn" | "ec_ruc" | "eg_tin" | "es_cif" | "et_tin" | "eu_oss_vat" | "eu_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "hk_br" | "hr_oib" | "hu_tin" | "id_npwp" | "il_vat" | "in_gst" | "is_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kg_tin" | "kh_tin" | "kr_brn" | "kz_bin" | "la_tin" | "li_uid" | "li_vat" | "lk_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "pl_nip" | "ro_tin" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "sg_gst" | "sg_uen" | "si_tin" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "unknown" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "za_vat" | "zm_tin" | "zw_tin";
            readonly value: string;
        }[];
        readonly taxability_override: "customer_exempt" | "none" | "reverse_charge";
    };
    readonly id: string;
    readonly line_items?: {
        readonly data: readonly {
            readonly amount: number;
            readonly amount_tax: number;
            readonly id: string;
            readonly livemode: boolean;
            readonly metadata: {
                readonly [x: string]: string;
            } | null;
            readonly object: "tax.transaction_line_item";
            readonly product: string | null;
            readonly quantity: number;
            readonly reference: string;
            readonly reversal: unknown;
            readonly tax_behavior: "exclusive" | "inclusive";
            readonly tax_code: string;
            readonly type: "reversal" | "transaction";
        }[];
        readonly has_more: boolean;
        readonly object: "list";
        readonly url: string;
    } | null | undefined;
    readonly livemode: boolean;
    readonly metadata: {
        readonly [x: string]: string;
    } | null;
    readonly object: "tax.transaction";
    readonly posted_at: number;
    readonly reference: string;
    readonly reversal: unknown;
    readonly ship_from_details: unknown;
    readonly shipping_cost: unknown;
    readonly tax_date: number;
    readonly type: "reversal" | "transaction";
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=PostTaxTransactionsCreateReversal.d.ts.map