import * as Schema from "effect/Schema";
export declare const GetTreasuryCreditReversalsInput: 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_credit: Schema.optional<Schema.String>;
    readonly starting_after: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["canceled", "posted", "processing"]>>;
}>;
export type GetTreasuryCreditReversalsInput = typeof GetTreasuryCreditReversalsInput.Type;
export declare const GetTreasuryCreditReversalsOutput: Schema.Struct<{
    readonly data: Schema.$Array<Schema.Struct<{
        readonly amount: Schema.Number;
        readonly created: Schema.Number;
        readonly currency: Schema.String;
        readonly financial_account: Schema.String;
        readonly hosted_regulatory_receipt_url: Schema.NullOr<Schema.String>;
        readonly id: Schema.String;
        readonly livemode: Schema.Boolean;
        readonly metadata: Schema.$Record<Schema.String, Schema.String>;
        readonly network: Schema.Literals<readonly ["ach", "stripe"]>;
        readonly object: Schema.Literals<readonly ["treasury.credit_reversal"]>;
        readonly received_credit: Schema.String;
        readonly status: Schema.Literals<readonly ["canceled", "posted", "processing"]>;
        readonly status_transitions: Schema.Struct<{
            readonly posted_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 GetTreasuryCreditReversalsOutput = typeof GetTreasuryCreditReversalsOutput.Type;
/**
 * List all CreditReversals
 *
 * <p>Returns a list of CreditReversals.</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_credit - Only return CreditReversals for the ReceivedCredit ID.
 * @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 CreditReversals for a given status.
 */
export declare const GetTreasuryCreditReversals: 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_credit?: string | undefined;
    readonly starting_after?: string | undefined;
    readonly status?: "canceled" | "posted" | "processing" | undefined;
}, {
    readonly data: readonly {
        readonly amount: number;
        readonly created: number;
        readonly currency: string;
        readonly financial_account: string;
        readonly hosted_regulatory_receipt_url: string | null;
        readonly id: string;
        readonly livemode: boolean;
        readonly metadata: {
            readonly [x: string]: string;
        };
        readonly network: "ach" | "stripe";
        readonly object: "treasury.credit_reversal";
        readonly received_credit: string;
        readonly status: "canceled" | "posted" | "processing";
        readonly status_transitions: {
            readonly posted_at: number | null;
        };
        readonly transaction: unknown;
    }[];
    readonly has_more: boolean;
    readonly object: "list";
    readonly url: string;
}, never, import("..").Credentials>;
//# sourceMappingURL=GetTreasuryCreditReversals.d.ts.map