import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { DisputeCustomer } from "./disputecustomer.js";
import { DisputeStatus } from "./disputestatus.js";
/**
 * Schema representing a dispute.
 *
 * @remarks
 *
 * A dispute is a challenge raised by a customer or their bank regarding a payment.
 */
export type Dispute = {
    /**
     * Creation timestamp of the object.
     */
    createdAt: Date;
    /**
     * Last modification timestamp of the object.
     */
    modifiedAt: Date | null;
    /**
     * The ID of the object.
     */
    id: string;
    status: DisputeStatus;
    /**
     * Whether the dispute has been resolved (won or lost).
     */
    resolved: boolean;
    /**
     * Whether the dispute is closed (prevented, won, or lost).
     */
    closed: boolean;
    /**
     * Amount in cents disputed.
     */
    amount: number;
    /**
     * Tax amount in cents disputed.
     */
    taxAmount: number;
    /**
     * Currency code of the dispute.
     */
    currency: string;
    /**
     * The reason for the dispute as reported by the card network (e.g. `fraudulent`, `product_not_received`). `None` until the processor reports it.
     */
    reason: string | null;
    /**
     * Deadline to submit evidence in response to the dispute. `None` when no response is required.
     */
    evidenceDueBy: Date | null;
    /**
     * Whether the evidence submission deadline has passed.
     */
    pastDue: boolean;
    /**
     * The ID of the order associated with the dispute.
     */
    orderId: string;
    /**
     * The ID of the payment associated with the dispute.
     */
    paymentId: string;
    customer: DisputeCustomer;
    /**
     * The ID of the support case for this dispute, if one was opened.
     */
    caseId: string | null;
};
/** @internal */
export declare const Dispute$inboundSchema: z.ZodMiniType<Dispute, unknown>;
export declare function disputeFromJSON(jsonString: string): SafeParseResult<Dispute, SDKValidationError>;
//# sourceMappingURL=dispute.d.ts.map