import type { Db, DisputeResolution, MarketplacePluginOptions } from "../types.js"; export declare class DisputeService { private db; private options; constructor(db: Db, options: MarketplacePluginOptions); open(data: { subOrderId: string; openedBy: string; reason: string; description?: string; }): Promise<{ id: string; status: string; description: string | null; evidence: { party: string; type: string; url?: string; note?: string; at: string; }[] | null; reason: string; resolvedAt: Date | null; resolvedBy: string | null; resolutionNotes: string | null; subOrderId: string; openedBy: string; resolution: string | null; refundAmountCents: number | null; deadlineAt: Date | null; openedAt: Date; } | undefined>; getById(id: string): Promise<{ id: string; subOrderId: string; openedBy: string; reason: string; description: string | null; status: string; resolution: string | null; resolutionNotes: string | null; refundAmountCents: number | null; evidence: { party: string; type: string; url?: string; note?: string; at: string; }[] | null; resolvedBy: string | null; deadlineAt: Date | null; openedAt: Date; resolvedAt: Date | null; } | null>; list(filters?: { status?: string; subOrderId?: string; }): Promise<{ id: string; subOrderId: string; openedBy: string; reason: string; description: string | null; status: string; resolution: string | null; resolutionNotes: string | null; refundAmountCents: number | null; evidence: { party: string; type: string; url?: string; note?: string; at: string; }[] | null; resolvedBy: string | null; deadlineAt: Date | null; openedAt: Date; resolvedAt: Date | null; }[]>; respond(id: string, data: { party: string; note: string; url?: string; }): Promise<{ id: string; subOrderId: string; openedBy: string; reason: string; description: string | null; status: string; resolution: string | null; resolutionNotes: string | null; refundAmountCents: number | null; evidence: { party: string; type: string; url?: string; note?: string; at: string; }[] | null; resolvedBy: string | null; deadlineAt: Date | null; openedAt: Date; resolvedAt: Date | null; } | undefined>; escalate(id: string): Promise<{ id: string; subOrderId: string; openedBy: string; reason: string; description: string | null; status: string; resolution: string | null; resolutionNotes: string | null; refundAmountCents: number | null; evidence: { party: string; type: string; url?: string; note?: string; at: string; }[] | null; resolvedBy: string | null; deadlineAt: Date | null; openedAt: Date; resolvedAt: Date | null; } | null>; resolve(id: string, data: { resolution: DisputeResolution; notes?: string; refundAmountCents?: number; resolvedBy: string; }): Promise<{ id: string; subOrderId: string; openedBy: string; reason: string; description: string | null; status: string; resolution: string | null; resolutionNotes: string | null; refundAmountCents: number | null; evidence: { party: string; type: string; url?: string; note?: string; at: string; }[] | null; resolvedBy: string | null; deadlineAt: Date | null; openedAt: Date; resolvedAt: Date | null; } | null>; } //# sourceMappingURL=dispute.d.ts.map