import * as Schema from "effect/Schema";
export declare const GetTreasuryReceivedCreditsIdInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly expand: Schema.optional<Schema.String>;
}>;
export type GetTreasuryReceivedCreditsIdInput = typeof GetTreasuryReceivedCreditsIdInput.Type;
export declare const GetTreasuryReceivedCreditsIdOutput: 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;
}>;
export type GetTreasuryReceivedCreditsIdOutput = typeof GetTreasuryReceivedCreditsIdOutput.Type;
/**
 * Retrieve a ReceivedCredit
 *
 * <p>Retrieves the details of an existing ReceivedCredit by passing the unique ReceivedCredit ID from the ReceivedCredit list.</p>
 *
 * @param expand - Specifies which fields in the response should be expanded.
 */
export declare const GetTreasuryReceivedCreditsId: import("@distilled.cloud/core/client").OperationMethod<{
    readonly expand?: string | undefined;
    readonly id: string;
}, {
    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;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetTreasuryReceivedCreditsId.d.ts.map