import * as Schema from "effect/Schema";
export declare const GetChargesChargeRefundsInput: Schema.Struct<{
    readonly charge: Schema.String;
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly starting_after: Schema.optional<Schema.String>;
}>;
export type GetChargesChargeRefundsInput = typeof GetChargesChargeRefundsInput.Type;
export declare const GetChargesChargeRefundsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly balance_transaction: Schema.Unknown;
        readonly charge: Schema.Unknown;
        readonly created: Schema.Number;
        readonly currency: Schema.String;
        readonly description: Schema.optional<Schema.String>;
        readonly destination_details: Schema.optional<Schema.Struct<{
            readonly affirm: Schema.optional<Schema.Struct<{}>>;
            readonly afterpay_clearpay: Schema.optional<Schema.Struct<{}>>;
            readonly alipay: Schema.optional<Schema.Struct<{}>>;
            readonly alma: Schema.optional<Schema.Struct<{}>>;
            readonly amazon_pay: Schema.optional<Schema.Struct<{}>>;
            readonly au_bank_transfer: Schema.optional<Schema.Struct<{}>>;
            readonly blik: Schema.optional<Schema.Struct<{
                readonly network_decline_code: Schema.NullOr<Schema.String>;
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly br_bank_transfer: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly card: Schema.optional<Schema.Struct<{
                readonly reference: Schema.optional<Schema.String>;
                readonly reference_status: Schema.optional<Schema.String>;
                readonly reference_type: Schema.optional<Schema.String>;
                readonly type: Schema.Literals<readonly ["pending", "refund", "reversal"]>;
            }>>;
            readonly cashapp: Schema.optional<Schema.Struct<{}>>;
            readonly crypto: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
            }>>;
            readonly customer_cash_balance: Schema.optional<Schema.Struct<{}>>;
            readonly eps: Schema.optional<Schema.Struct<{}>>;
            readonly eu_bank_transfer: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly gb_bank_transfer: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly giropay: Schema.optional<Schema.Struct<{}>>;
            readonly grabpay: Schema.optional<Schema.Struct<{}>>;
            readonly jp_bank_transfer: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly klarna: Schema.optional<Schema.Struct<{}>>;
            readonly mb_way: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly multibanco: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly mx_bank_transfer: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly nz_bank_transfer: Schema.optional<Schema.Struct<{}>>;
            readonly p24: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly paynow: Schema.optional<Schema.Struct<{}>>;
            readonly paypal: Schema.optional<Schema.Struct<{
                readonly network_decline_code: Schema.NullOr<Schema.String>;
            }>>;
            readonly pix: Schema.optional<Schema.Struct<{}>>;
            readonly revolut: Schema.optional<Schema.Struct<{}>>;
            readonly sofort: Schema.optional<Schema.Struct<{}>>;
            readonly swish: Schema.optional<Schema.Struct<{
                readonly network_decline_code: Schema.NullOr<Schema.String>;
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly th_bank_transfer: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly twint: Schema.optional<Schema.Struct<{}>>;
            readonly type: Schema.String;
            readonly us_bank_transfer: Schema.optional<Schema.Struct<{
                readonly reference: Schema.NullOr<Schema.String>;
                readonly reference_status: Schema.NullOr<Schema.String>;
            }>>;
            readonly wechat_pay: Schema.optional<Schema.Struct<{}>>;
            readonly zip: Schema.optional<Schema.Struct<{}>>;
        }>>;
        readonly failure_balance_transaction: Schema.optional<Schema.Unknown>;
        readonly failure_reason: Schema.optional<Schema.String>;
        readonly id: Schema.String;
        readonly instructions_email: Schema.optional<Schema.String>;
        readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
        readonly next_action: Schema.optional<Schema.Struct<{
            readonly display_details: Schema.optional<Schema.Struct<{
                readonly email_sent: Schema.Struct<{
                    readonly email_sent_at: Schema.Number;
                    readonly email_sent_to: Schema.String;
                }>;
                readonly expires_at: Schema.Number;
            }>>;
            readonly type: Schema.String;
        }>>;
        readonly object: Schema.Literals<readonly ["refund"]>;
        readonly payment_intent: Schema.Unknown;
        readonly pending_reason: Schema.optional<Schema.Literals<readonly ["charge_pending", "insufficient_funds", "processing"]>>;
        readonly presentment_details: Schema.optional<Schema.Struct<{
            readonly presentment_amount: Schema.Number;
            readonly presentment_currency: Schema.String;
        }>>;
        readonly reason: Schema.NullOr<Schema.Literals<readonly ["duplicate", "expired_uncaptured_charge", "fraudulent", "requested_by_customer"]>>;
        readonly receipt_number: Schema.NullOr<Schema.String>;
        readonly source_transfer_reversal: Schema.Unknown;
        readonly status: Schema.NullOr<Schema.String>;
        readonly transfer_reversal: Schema.Unknown;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetChargesChargeRefundsOutput = typeof GetChargesChargeRefundsOutput.Type;
/**
 * List all refunds
 *
 * <p>You can see a list of the refunds belonging to a specific charge. Note that the 10 most recent refunds are always available by default on the charge object. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional refunds.</p>
 *
 * @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 limit - A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
 * @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 GetChargesChargeRefunds: import("@distilled.cloud/core/client").OperationMethod<{
    readonly charge: string;
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly limit?: number | undefined;
    readonly starting_after?: string | undefined;
}, {
    readonly data: readonly {
        readonly amount: number;
        readonly balance_transaction: unknown;
        readonly charge: unknown;
        readonly created: number;
        readonly currency: string;
        readonly description?: string | undefined;
        readonly destination_details?: {
            readonly affirm?: {} | undefined;
            readonly afterpay_clearpay?: {} | undefined;
            readonly alipay?: {} | undefined;
            readonly alma?: {} | undefined;
            readonly amazon_pay?: {} | undefined;
            readonly au_bank_transfer?: {} | undefined;
            readonly blik?: {
                readonly network_decline_code: string | null;
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly br_bank_transfer?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly card?: {
                readonly reference?: string | undefined;
                readonly reference_status?: string | undefined;
                readonly reference_type?: string | undefined;
                readonly type: "pending" | "refund" | "reversal";
            } | undefined;
            readonly cashapp?: {} | undefined;
            readonly crypto?: {
                readonly reference: string | null;
            } | undefined;
            readonly customer_cash_balance?: {} | undefined;
            readonly eps?: {} | undefined;
            readonly eu_bank_transfer?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly gb_bank_transfer?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly giropay?: {} | undefined;
            readonly grabpay?: {} | undefined;
            readonly jp_bank_transfer?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly klarna?: {} | undefined;
            readonly mb_way?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly multibanco?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly mx_bank_transfer?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly nz_bank_transfer?: {} | undefined;
            readonly p24?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly paynow?: {} | undefined;
            readonly paypal?: {
                readonly network_decline_code: string | null;
            } | undefined;
            readonly pix?: {} | undefined;
            readonly revolut?: {} | undefined;
            readonly sofort?: {} | undefined;
            readonly swish?: {
                readonly network_decline_code: string | null;
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly th_bank_transfer?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly twint?: {} | undefined;
            readonly type: string;
            readonly us_bank_transfer?: {
                readonly reference: string | null;
                readonly reference_status: string | null;
            } | undefined;
            readonly wechat_pay?: {} | undefined;
            readonly zip?: {} | undefined;
        } | undefined;
        readonly failure_balance_transaction?: unknown;
        readonly failure_reason?: string | undefined;
        readonly id: string;
        readonly instructions_email?: string | undefined;
        readonly metadata: {
            readonly [x: string]: string;
        } | null;
        readonly next_action?: {
            readonly display_details?: {
                readonly email_sent: {
                    readonly email_sent_at: number;
                    readonly email_sent_to: string;
                };
                readonly expires_at: number;
            } | undefined;
            readonly type: string;
        } | undefined;
        readonly object: "refund";
        readonly payment_intent: unknown;
        readonly pending_reason?: "charge_pending" | "insufficient_funds" | "processing" | undefined;
        readonly presentment_details?: {
            readonly presentment_amount: number;
            readonly presentment_currency: string;
        } | undefined;
        readonly reason: "duplicate" | "expired_uncaptured_charge" | "fraudulent" | "requested_by_customer" | null;
        readonly receipt_number: string | null;
        readonly source_transfer_reversal: unknown;
        readonly status: string | null;
        readonly transfer_reversal: unknown;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, any>;
//# sourceMappingURL=GetChargesChargeRefunds.d.ts.map