import type { Db } from "../types.js"; export declare class ReturnService { private db; constructor(db: Db); request(data: { subOrderId: string; customerId?: string; reason: string; description?: string; lineItems?: Array<{ entityId: string; quantity: number; reason?: string; }>; }): Promise<{ id: string; status: string; description: string | null; reason: string; customerId: string | null; trackingNumber: string | null; resolvedAt: Date | null; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; vendorNotes: string | null; subOrderId: string; refundAmountCents: number | null; requestedAt: Date; } | undefined>; getById(id: string): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; } | null>; list(filters?: { subOrderId?: string; status?: string; }): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; }[]>; listByVendor(vendorId: string): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; }[]>; vendorApprove(id: string, refundAmountCents?: number): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; } | null>; vendorReject(id: string, notes?: string): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; } | null>; shipBack(id: string, trackingNumber: string): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; } | null>; receive(id: string): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; } | null>; refund(id: string, amountCents: number): Promise<{ id: string; subOrderId: string; customerId: string | null; reason: string; description: string | null; status: string; lineItems: { entityId: string; quantity: number; reason?: string; }[] | null; refundAmountCents: number | null; vendorNotes: string | null; trackingNumber: string | null; requestedAt: Date; resolvedAt: Date | null; } | null>; } //# sourceMappingURL=return.d.ts.map