import * as Schema from "effect/Schema";
export declare const PostPaymentIntentsIntentApplyCustomerBalanceInput: Schema.Struct<{
    readonly intent: Schema.String;
    readonly amount: Schema.optional<Schema.Number>;
    readonly currency: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
}>;
export type PostPaymentIntentsIntentApplyCustomerBalanceInput = typeof PostPaymentIntentsIntentApplyCustomerBalanceInput.Type;
export declare const PostPaymentIntentsIntentApplyCustomerBalanceOutput: Schema.Struct<{
    readonly amount: Schema.Number;
    readonly amount_capturable: Schema.Number;
    readonly amount_details: Schema.optional<Schema.Struct<{
        readonly discount_amount: Schema.optional<Schema.Number>;
        readonly error: Schema.optional<Schema.Struct<{
            readonly code: Schema.NullOr<Schema.Literals<readonly ["amount_details_amount_mismatch", "amount_details_tax_shipping_discount_greater_than_amount"]>>;
            readonly message: Schema.NullOr<Schema.String>;
        }>>;
        readonly line_items: Schema.optional<Schema.Struct<{
            readonly data: Schema.$Array<Schema.Struct<{
                readonly discount_amount: Schema.NullOr<Schema.Number>;
                readonly id: Schema.String;
                readonly object: Schema.Literals<readonly ["payment_intent_amount_details_line_item"]>;
                readonly payment_method_options: Schema.Unknown;
                readonly product_code: Schema.NullOr<Schema.String>;
                readonly product_name: Schema.String;
                readonly quantity: Schema.Number;
                readonly tax: Schema.Unknown;
                readonly unit_cost: Schema.Number;
                readonly unit_of_measure: Schema.NullOr<Schema.String>;
            }>>;
            readonly has_more: Schema.Boolean;
            readonly object: Schema.Literals<readonly ["list"]>;
            readonly url: Schema.String;
        }>>;
        readonly shipping: Schema.optional<Schema.Struct<{
            readonly amount: Schema.NullOr<Schema.Number>;
            readonly from_postal_code: Schema.NullOr<Schema.String>;
            readonly to_postal_code: Schema.NullOr<Schema.String>;
        }>>;
        readonly tax: Schema.optional<Schema.Struct<{
            readonly total_tax_amount: Schema.NullOr<Schema.Number>;
        }>>;
        readonly tip: Schema.optional<Schema.Struct<{
            readonly amount: Schema.optional<Schema.Number>;
        }>>;
    }>>;
    readonly amount_received: Schema.Number;
    readonly application: Schema.Unknown;
    readonly application_fee_amount: Schema.NullOr<Schema.Number>;
    readonly automatic_payment_methods: Schema.Unknown;
    readonly canceled_at: Schema.NullOr<Schema.Number>;
    readonly cancellation_reason: Schema.NullOr<Schema.Literals<readonly ["abandoned", "automatic", "duplicate", "expired", "failed_invoice", "fraudulent", "requested_by_customer", "void_invoice"]>>;
    readonly capture_method: Schema.Literals<readonly ["automatic", "automatic_async", "manual"]>;
    readonly client_secret: Schema.NullOr<Schema.Schema<string | import("effect/Redacted").Redacted<string>>>;
    readonly confirmation_method: Schema.Literals<readonly ["automatic", "manual"]>;
    readonly created: Schema.Number;
    readonly currency: Schema.String;
    readonly customer: Schema.Unknown;
    readonly customer_account: Schema.NullOr<Schema.String>;
    readonly description: Schema.NullOr<Schema.String>;
    readonly excluded_payment_method_types: Schema.NullOr<Schema.$Array<Schema.Literals<readonly ["acss_debit", "affirm", "afterpay_clearpay", "alipay", "alma", "amazon_pay", "au_becs_debit", "bacs_debit", "bancontact", "billie", "blik", "boleto", "card", "cashapp", "crypto", "customer_balance", "eps", "fpx", "giropay", "grabpay", "ideal", "kakao_pay", "klarna", "konbini", "kr_card", "mb_way", "mobilepay", "multibanco", "naver_pay", "nz_bank_account", "oxxo", "p24", "pay_by_bank", "payco", "paynow", "paypal", "payto", "pix", "promptpay", "revolut_pay", "samsung_pay", "satispay", "sepa_debit", "sofort", "swish", "twint", "upi", "us_bank_account", "wechat_pay", "zip"]>>>;
    readonly hooks: Schema.optional<Schema.Struct<{
        readonly inputs: Schema.optional<Schema.Struct<{
            readonly tax: Schema.optional<Schema.Struct<{
                readonly calculation: Schema.String;
            }>>;
        }>>;
    }>>;
    readonly id: Schema.String;
    readonly last_payment_error: Schema.Unknown;
    readonly latest_charge: Schema.Unknown;
    readonly livemode: Schema.Boolean;
    readonly metadata: Schema.$Record<Schema.String, Schema.String>;
    readonly next_action: Schema.Unknown;
    readonly object: Schema.Literals<readonly ["payment_intent"]>;
    readonly on_behalf_of: Schema.Unknown;
    readonly payment_details: Schema.optional<Schema.Struct<{
        readonly customer_reference: Schema.NullOr<Schema.String>;
        readonly order_reference: Schema.NullOr<Schema.String>;
    }>>;
    readonly payment_method: Schema.Unknown;
    readonly payment_method_configuration_details: Schema.Unknown;
    readonly payment_method_options: Schema.Unknown;
    readonly payment_method_types: Schema.$Array<Schema.String>;
    readonly presentment_details: Schema.optional<Schema.Struct<{
        readonly presentment_amount: Schema.Number;
        readonly presentment_currency: Schema.String;
    }>>;
    readonly processing: Schema.Unknown;
    readonly receipt_email: Schema.NullOr<Schema.String>;
    readonly review: Schema.Unknown;
    readonly setup_future_usage: Schema.NullOr<Schema.Literals<readonly ["off_session", "on_session"]>>;
    readonly shipping: Schema.Unknown;
    readonly source: Schema.Unknown;
    readonly statement_descriptor: Schema.NullOr<Schema.String>;
    readonly statement_descriptor_suffix: Schema.NullOr<Schema.String>;
    readonly status: Schema.Literals<readonly ["canceled", "processing", "requires_action", "requires_capture", "requires_confirmation", "requires_payment_method", "succeeded"]>;
    readonly transfer_data: Schema.optional<Schema.Unknown>;
    readonly transfer_group: Schema.NullOr<Schema.String>;
}>;
export type PostPaymentIntentsIntentApplyCustomerBalanceOutput = typeof PostPaymentIntentsIntentApplyCustomerBalanceOutput.Type;
/**
 * Reconcile a customer_balance PaymentIntent
 *
 * <p>Manually reconcile the remaining amount for a <code>customer_balance</code> PaymentIntent.</p>
 */
export declare const PostPaymentIntentsIntentApplyCustomerBalance: import("@distilled.cloud/core/client").OperationMethod<{
    readonly amount?: number | undefined;
    readonly currency?: string | undefined;
    readonly expand?: readonly string[] | undefined;
    readonly intent: string;
}, {
    readonly amount: number;
    readonly amount_capturable: number;
    readonly amount_details?: {
        readonly discount_amount?: number | undefined;
        readonly error?: {
            readonly code: "amount_details_amount_mismatch" | "amount_details_tax_shipping_discount_greater_than_amount" | null;
            readonly message: string | null;
        } | undefined;
        readonly line_items?: {
            readonly data: readonly {
                readonly discount_amount: number | null;
                readonly id: string;
                readonly object: "payment_intent_amount_details_line_item";
                readonly payment_method_options: unknown;
                readonly product_code: string | null;
                readonly product_name: string;
                readonly quantity: number;
                readonly tax: unknown;
                readonly unit_cost: number;
                readonly unit_of_measure: string | null;
            }[];
            readonly has_more: boolean;
            readonly object: "list";
            readonly url: string;
        } | undefined;
        readonly shipping?: {
            readonly amount: number | null;
            readonly from_postal_code: string | null;
            readonly to_postal_code: string | null;
        } | undefined;
        readonly tax?: {
            readonly total_tax_amount: number | null;
        } | undefined;
        readonly tip?: {
            readonly amount?: number | undefined;
        } | undefined;
    } | undefined;
    readonly amount_received: number;
    readonly application: unknown;
    readonly application_fee_amount: number | null;
    readonly automatic_payment_methods: unknown;
    readonly canceled_at: number | null;
    readonly cancellation_reason: "abandoned" | "automatic" | "duplicate" | "expired" | "failed_invoice" | "fraudulent" | "requested_by_customer" | "void_invoice" | null;
    readonly capture_method: "automatic" | "automatic_async" | "manual";
    readonly client_secret: string | import("effect/Redacted").Redacted<string> | null;
    readonly confirmation_method: "automatic" | "manual";
    readonly created: number;
    readonly currency: string;
    readonly customer: unknown;
    readonly customer_account: string | null;
    readonly description: string | null;
    readonly excluded_payment_method_types: readonly ("acss_debit" | "affirm" | "afterpay_clearpay" | "alipay" | "alma" | "amazon_pay" | "au_becs_debit" | "bacs_debit" | "bancontact" | "billie" | "blik" | "boleto" | "card" | "cashapp" | "crypto" | "customer_balance" | "eps" | "fpx" | "giropay" | "grabpay" | "ideal" | "kakao_pay" | "klarna" | "konbini" | "kr_card" | "mb_way" | "mobilepay" | "multibanco" | "naver_pay" | "nz_bank_account" | "oxxo" | "p24" | "pay_by_bank" | "payco" | "paynow" | "paypal" | "payto" | "pix" | "promptpay" | "revolut_pay" | "samsung_pay" | "satispay" | "sepa_debit" | "sofort" | "swish" | "twint" | "upi" | "us_bank_account" | "wechat_pay" | "zip")[] | null;
    readonly hooks?: {
        readonly inputs?: {
            readonly tax?: {
                readonly calculation: string;
            } | undefined;
        } | undefined;
    } | undefined;
    readonly id: string;
    readonly last_payment_error: unknown;
    readonly latest_charge: unknown;
    readonly livemode: boolean;
    readonly metadata: {
        readonly [x: string]: string;
    };
    readonly next_action: unknown;
    readonly object: "payment_intent";
    readonly on_behalf_of: unknown;
    readonly payment_details?: {
        readonly customer_reference: string | null;
        readonly order_reference: string | null;
    } | undefined;
    readonly payment_method: unknown;
    readonly payment_method_configuration_details: unknown;
    readonly payment_method_options: unknown;
    readonly payment_method_types: readonly string[];
    readonly presentment_details?: {
        readonly presentment_amount: number;
        readonly presentment_currency: string;
    } | undefined;
    readonly processing: unknown;
    readonly receipt_email: string | null;
    readonly review: unknown;
    readonly setup_future_usage: "off_session" | "on_session" | null;
    readonly shipping: unknown;
    readonly source: unknown;
    readonly statement_descriptor: string | null;
    readonly statement_descriptor_suffix: string | null;
    readonly status: "canceled" | "processing" | "requires_action" | "requires_capture" | "requires_confirmation" | "requires_payment_method" | "succeeded";
    readonly transfer_data?: unknown;
    readonly transfer_group: string | null;
}, never, import("..").Credentials>;
//# sourceMappingURL=PostPaymentIntentsIntentApplyCustomerBalance.d.ts.map