import * as Schema from "effect/Schema";
export declare const GetTreasuryReceivedCreditsInput: 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 linked_flows: Schema.optional<Schema.String>;
    readonly starting_after: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["failed", "succeeded"]>>;
}>;
export type GetTreasuryReceivedCreditsInput = typeof GetTreasuryReceivedCreditsInput.Type;
export declare const GetTreasuryReceivedCreditsOutput: 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", "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.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 credit_reversal: Schema.NullOr<Schema.String>;
            readonly issuing_authorization: Schema.NullOr<Schema.String>;
            readonly issuing_transaction: Schema.NullOr<Schema.String>;
            readonly source_flow: Schema.NullOr<Schema.String>;
            readonly source_flow_details: Schema.optional<Schema.Unknown>;
            readonly source_flow_type: Schema.NullOr<Schema.String>;
        }>;
        readonly livemode: Schema.Boolean;
        readonly network: Schema.Literals<readonly ["ach", "card", "stripe", "us_domestic_wire"]>;
        readonly object: Schema.Literals<readonly ["treasury.received_credit"]>;
        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 GetTreasuryReceivedCreditsOutput = typeof GetTreasuryReceivedCreditsOutput.Type;
/**
 * List all ReceivedCredits
 *
 * <p>Returns a list of ReceivedCredits.</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 received the funds.
 * @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 linked_flows - Only return ReceivedCredits described by the flow.
 * @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 ReceivedCredits that have the given status: `succeeded` or `failed`.
 */
export declare const GetTreasuryReceivedCredits: import("@distilled.cloud/core/client").OperationMethod<{
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly financial_account: string;
    readonly limit?: number | undefined;
    readonly linked_flows?: string | 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" | "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;
        };
        readonly linked_flows: {
            readonly credit_reversal: string | null;
            readonly issuing_authorization: string | null;
            readonly issuing_transaction: string | null;
            readonly source_flow: string | null;
            readonly source_flow_details?: unknown;
            readonly source_flow_type: string | null;
        };
        readonly livemode: boolean;
        readonly network: "ach" | "card" | "stripe" | "us_domestic_wire";
        readonly object: "treasury.received_credit";
        readonly reversal_details: unknown;
        readonly status: "failed" | "succeeded";
        readonly transaction: unknown;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetTreasuryReceivedCredits.d.ts.map