import * as Schema from "effect/Schema";
export declare const GetTreasuryReceivedDebitsInput: Schema.Struct<{
    readonly ending_before: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.String>;
    readonly financial_account: Schema.String;
    readonly limit: Schema.optional<Schema.Number>;
    readonly starting_after: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["failed", "succeeded"]>>;
}>;
export type GetTreasuryReceivedDebitsInput = typeof GetTreasuryReceivedDebitsInput.Type;
export declare const GetTreasuryReceivedDebitsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly created: Schema.Number;
        readonly currency: Schema.String;
        readonly description: Schema.String;
        readonly failure_code: Schema.NullOr<Schema.Literals<readonly ["account_closed", "account_frozen", "insufficient_funds", "international_transaction", "other"]>>;
        readonly financial_account: Schema.NullOr<Schema.String>;
        readonly hosted_regulatory_receipt_url: Schema.NullOr<Schema.String>;
        readonly id: Schema.String;
        readonly initiating_payment_method_details: Schema.optional<Schema.Struct<{
            readonly balance: Schema.optional<Schema.Literals<readonly ["payments"]>>;
            readonly billing_details: Schema.Struct<{
                readonly address: Schema.Struct<{
                    readonly city: Schema.NullOr<Schema.String>;
                    readonly country: Schema.NullOr<Schema.String>;
                    readonly line1: Schema.NullOr<Schema.String>;
                    readonly line2: Schema.NullOr<Schema.String>;
                    readonly postal_code: Schema.NullOr<Schema.String>;
                    readonly state: Schema.NullOr<Schema.String>;
                }>;
                readonly email: Schema.NullOr<Schema.String>;
                readonly name: Schema.NullOr<Schema.String>;
            }>;
            readonly financial_account: Schema.optional<Schema.Struct<{
                readonly id: Schema.String;
                readonly network: Schema.Literals<readonly ["stripe"]>;
            }>>;
            readonly issuing_card: Schema.optional<Schema.String>;
            readonly type: Schema.Literals<readonly ["balance", "financial_account", "issuing_card", "stripe", "us_bank_account"]>;
            readonly us_bank_account: Schema.optional<Schema.Struct<{
                readonly bank_name: Schema.NullOr<Schema.String>;
                readonly last4: Schema.NullOr<Schema.String>;
                readonly routing_number: Schema.NullOr<Schema.String>;
            }>>;
        }>>;
        readonly linked_flows: Schema.Struct<{
            readonly debit_reversal: Schema.NullOr<Schema.String>;
            readonly inbound_transfer: Schema.NullOr<Schema.String>;
            readonly issuing_authorization: Schema.NullOr<Schema.String>;
            readonly issuing_transaction: Schema.NullOr<Schema.String>;
            readonly payout: Schema.NullOr<Schema.String>;
            readonly topup: Schema.NullOr<Schema.String>;
        }>;
        readonly livemode: Schema.Boolean;
        readonly network: Schema.Literals<readonly ["ach", "card", "stripe"]>;
        readonly object: Schema.Literals<readonly ["treasury.received_debit"]>;
        readonly reversal_details: Schema.Unknown;
        readonly status: Schema.Literals<readonly ["failed", "succeeded"]>;
        readonly transaction: Schema.Unknown;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetTreasuryReceivedDebitsOutput = typeof GetTreasuryReceivedDebitsOutput.Type;
/**
 * List all ReceivedDebits
 *
 * <p>Returns a list of ReceivedDebits.</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 financial_account - The FinancialAccount that funds were pulled from.
 * @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.
 * @param status - Only return ReceivedDebits that have the given status: `succeeded` or `failed`.
 */
export declare const GetTreasuryReceivedDebits: import("@distilled.cloud/core/client").OperationMethod<{
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly financial_account: string;
    readonly limit?: number | undefined;
    readonly starting_after?: string | undefined;
    readonly status?: "failed" | "succeeded" | undefined;
}, {
    readonly data: readonly {
        readonly amount: number;
        readonly created: number;
        readonly currency: string;
        readonly description: string;
        readonly failure_code: "account_closed" | "account_frozen" | "insufficient_funds" | "international_transaction" | "other" | null;
        readonly financial_account: string | null;
        readonly hosted_regulatory_receipt_url: string | null;
        readonly id: string;
        readonly initiating_payment_method_details?: {
            readonly balance?: "payments" | undefined;
            readonly billing_details: {
                readonly address: {
                    readonly city: string | null;
                    readonly country: string | null;
                    readonly line1: string | null;
                    readonly line2: string | null;
                    readonly postal_code: string | null;
                    readonly state: string | null;
                };
                readonly email: string | null;
                readonly name: string | null;
            };
            readonly financial_account?: {
                readonly id: string;
                readonly network: "stripe";
            } | undefined;
            readonly issuing_card?: string | undefined;
            readonly type: "balance" | "financial_account" | "issuing_card" | "stripe" | "us_bank_account";
            readonly us_bank_account?: {
                readonly bank_name: string | null;
                readonly last4: string | null;
                readonly routing_number: string | null;
            } | undefined;
        } | undefined;
        readonly linked_flows: {
            readonly debit_reversal: string | null;
            readonly inbound_transfer: string | null;
            readonly issuing_authorization: string | null;
            readonly issuing_transaction: string | null;
            readonly payout: string | null;
            readonly topup: string | null;
        };
        readonly livemode: boolean;
        readonly network: "ach" | "card" | "stripe";
        readonly object: "treasury.received_debit";
        readonly reversal_details: unknown;
        readonly status: "failed" | "succeeded";
        readonly transaction: unknown;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("..").Credentials>;
//# sourceMappingURL=GetTreasuryReceivedDebits.d.ts.map