import * as Schema from "effect/Schema";
export declare const PostTransfersIdReversalsInput: Schema.Struct<{
    readonly id: Schema.String;
    readonly amount: Schema.optional<Schema.Number>;
    readonly description: Schema.optional<Schema.String>;
    readonly expand: Schema.optional<Schema.$Array<Schema.String>>;
    readonly metadata: Schema.optional<Schema.Unknown>;
    readonly refund_application_fee: Schema.optional<Schema.Boolean>;
}>;
export type PostTransfersIdReversalsInput = typeof PostTransfersIdReversalsInput.Type;
export declare const PostTransfersIdReversalsOutput: Schema.Struct<{
    readonly amount: Schema.Number;
    readonly balance_transaction: Schema.Unknown;
    readonly created: Schema.Number;
    readonly currency: Schema.String;
    readonly destination_payment_refund: Schema.Unknown;
    readonly id: Schema.String;
    readonly metadata: Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>;
    readonly object: Schema.Literals<readonly ["transfer_reversal"]>;
    readonly source_refund: Schema.Unknown;
    readonly transfer: Schema.Unknown;
}>;
export type PostTransfersIdReversalsOutput = typeof PostTransfersIdReversalsOutput.Type;
/**
 * Create a transfer reversal
 *
 * <p>When you create a new reversal, you must specify a transfer to create it on.</p>
 * <p>When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed.</p>
 * <p>Once entirely reversed, a transfer can’t be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer.</p>
 */
export declare const PostTransfersIdReversals: import("@distilled.cloud/core/client").OperationMethod<{
    readonly amount?: number | undefined;
    readonly description?: string | undefined;
    readonly expand?: readonly string[] | undefined;
    readonly id: string;
    readonly metadata?: unknown;
    readonly refund_application_fee?: boolean | undefined;
}, {
    readonly amount: number;
    readonly balance_transaction: unknown;
    readonly created: number;
    readonly currency: string;
    readonly destination_payment_refund: unknown;
    readonly id: string;
    readonly metadata: {
        readonly [x: string]: string;
    } | null;
    readonly object: "transfer_reversal";
    readonly source_refund: unknown;
    readonly transfer: unknown;
}, never, import("../credentials.ts").Credentials>;
//# sourceMappingURL=PostTransfersIdReversals.d.ts.map