import * as Schema from "effect/Schema";
export declare const GetTreasuryDebitReversalsInput: 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 received_debit: Schema.optional<Schema.String>;
    readonly resolution: Schema.optional<Schema.Literals<readonly ["lost", "won"]>>;
    readonly starting_after: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["canceled", "completed", "processing"]>>;
}>;
export type GetTreasuryDebitReversalsInput = typeof GetTreasuryDebitReversalsInput.Type;
export declare const GetTreasuryDebitReversalsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly created: Schema.Number;
        readonly currency: Schema.String;
        readonly financial_account: Schema.NullOr<Schema.String>;
        readonly hosted_regulatory_receipt_url: Schema.NullOr<Schema.String>;
        readonly id: Schema.String;
        readonly linked_flows: Schema.Unknown;
        readonly livemode: Schema.Boolean;
        readonly metadata: Schema.$Record<Schema.String, Schema.String>;
        readonly network: Schema.Literals<readonly ["ach", "card"]>;
        readonly object: Schema.Literals<readonly ["treasury.debit_reversal"]>;
        readonly received_debit: Schema.String;
        readonly status: Schema.Literals<readonly ["failed", "processing", "succeeded"]>;
        readonly status_transitions: Schema.Struct<{
            readonly completed_at: Schema.NullOr<Schema.Number>;
        }>;
        readonly transaction: Schema.Unknown;
    }>>;
    readonly has_more: Schema.Boolean;
    readonly object: Schema.Literals<readonly ["list"]>;
    readonly url: Schema.String;
}>;
export type GetTreasuryDebitReversalsOutput = typeof GetTreasuryDebitReversalsOutput.Type;
/**
 * List all DebitReversals
 *
 * <p>Returns a list of DebitReversals.</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 - Returns objects associated with this FinancialAccount.
 * @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 received_debit - Only return DebitReversals for the ReceivedDebit ID.
 * @param resolution - Only return DebitReversals for a given resolution.
 * @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 DebitReversals for a given status.
 */
export declare const GetTreasuryDebitReversals: import("@distilled.cloud/core/client").OperationMethod<{
    readonly ending_before?: string | undefined;
    readonly expand?: string | undefined;
    readonly financial_account: string;
    readonly limit?: number | undefined;
    readonly received_debit?: string | undefined;
    readonly resolution?: "lost" | "won" | undefined;
    readonly starting_after?: string | undefined;
    readonly status?: "canceled" | "completed" | "processing" | undefined;
}, {
    readonly data: readonly {
        readonly amount: number;
        readonly created: number;
        readonly currency: string;
        readonly financial_account: string | null;
        readonly hosted_regulatory_receipt_url: string | null;
        readonly id: string;
        readonly linked_flows: unknown;
        readonly livemode: boolean;
        readonly metadata: {
            readonly [x: string]: string;
        };
        readonly network: "ach" | "card";
        readonly object: "treasury.debit_reversal";
        readonly received_debit: string;
        readonly status: "failed" | "processing" | "succeeded";
        readonly status_transitions: {
            readonly completed_at: number | null;
        };
        readonly transaction: unknown;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=GetTreasuryDebitReversals.d.ts.map