import { z } from 'zod'; declare const DisputeType: { readonly SERVICE_NOT_DELIVERED: "SERVICE_NOT_DELIVERED"; readonly QUALITY_ISSUE: "QUALITY_ISSUE"; readonly PAYMENT_DISPUTE: "PAYMENT_DISPUTE"; readonly CANCELLATION_DISPUTE: "CANCELLATION_DISPUTE"; readonly OTHER: "OTHER"; }; type DisputeType = (typeof DisputeType)[keyof typeof DisputeType]; declare const DisputeStatus: { readonly OPEN: "OPEN"; readonly UNDER_REVIEW: "UNDER_REVIEW"; readonly RESOLVED: "RESOLVED"; readonly CLOSED: "CLOSED"; }; type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus]; declare const DisputeResponseSchema: z.ZodObject<{ id: z.ZodUUID; transactionId: z.ZodUUID; eventId: z.ZodOptional; bookingId: z.ZodOptional; userId: z.ZodUUID; disputeType: z.ZodEnum<{ readonly SERVICE_NOT_DELIVERED: "SERVICE_NOT_DELIVERED"; readonly QUALITY_ISSUE: "QUALITY_ISSUE"; readonly PAYMENT_DISPUTE: "PAYMENT_DISPUTE"; readonly CANCELLATION_DISPUTE: "CANCELLATION_DISPUTE"; readonly OTHER: "OTHER"; }>; reason: z.ZodString; amountInDispute: z.ZodNumber; disputeStatus: z.ZodEnum<{ readonly OPEN: "OPEN"; readonly UNDER_REVIEW: "UNDER_REVIEW"; readonly RESOLVED: "RESOLVED"; readonly CLOSED: "CLOSED"; }>; resolution: z.ZodOptional; reportedAt: z.ZodISODateTime; slaDeadline: z.ZodISODateTime; resolvedAt: z.ZodOptional; createdAt: z.ZodISODateTime; }, z.core.$strip>; declare const DISPUTE_DETAIL_MAX_LENGTH = 500; declare const BOOKING_DISPUTE_DETAIL_MAX_LENGTH = 2000; /** Viewer entitlement dispute reasons (Prisma `DisputeReason` subset). */ declare const DisputeReasonSchema: z.ZodEnum<{ OTHER: "OTHER"; EVENT_DID_NOT_RUN: "EVENT_DID_NOT_RUN"; POOR_QUALITY: "POOR_QUALITY"; ACCESS_ISSUE: "ACCESS_ISSUE"; }>; /** Crew / vendor booking dispute reasons (Prisma `DisputeReason` subset). */ declare const BookingDisputeReasonSchema: z.ZodEnum<{ BOOKING_SERVICE_NOT_DELIVERED: "BOOKING_SERVICE_NOT_DELIVERED"; BOOKING_SERVICE_POOR_QUALITY: "BOOKING_SERVICE_POOR_QUALITY"; BOOKING_SCOPE_MISMATCH: "BOOKING_SCOPE_MISMATCH"; BOOKING_OTHER: "BOOKING_OTHER"; }>; /** Full Prisma `DisputeReason` surface for admin reads. */ declare const AnyDisputeReasonSchema: z.ZodEnum<{ OTHER: "OTHER"; EVENT_DID_NOT_RUN: "EVENT_DID_NOT_RUN"; POOR_QUALITY: "POOR_QUALITY"; ACCESS_ISSUE: "ACCESS_ISSUE"; BOOKING_SERVICE_NOT_DELIVERED: "BOOKING_SERVICE_NOT_DELIVERED"; BOOKING_SERVICE_POOR_QUALITY: "BOOKING_SERVICE_POOR_QUALITY"; BOOKING_SCOPE_MISMATCH: "BOOKING_SCOPE_MISMATCH"; BOOKING_OTHER: "BOOKING_OTHER"; }>; declare const DisputeSubjectTypeSchema: z.ZodEnum<{ BOOKING: "BOOKING"; ENTITLEMENT: "ENTITLEMENT"; }>; declare const DisputeStateSchema: z.ZodEnum<{ EXPIRED: "EXPIRED"; OPEN: "OPEN"; RESOLVED_CUSTOMER: "RESOLVED_CUSTOMER"; RESOLVED_HOST: "RESOLVED_HOST"; }>; declare const DisputeOutcomeSchema: z.ZodEnum<{ REFUNDED: "REFUNDED"; DENIED: "DENIED"; PARTIAL_REFUND: "PARTIAL_REFUND"; }>; declare const OpenDisputeRequestSchema: z.ZodObject<{ entitlementKind: z.ZodEnum<{ readonly REGISTRATION: "REGISTRATION"; readonly REPLAY_PURCHASE: "REPLAY_PURCHASE"; }>; reason: z.ZodEnum<{ OTHER: "OTHER"; EVENT_DID_NOT_RUN: "EVENT_DID_NOT_RUN"; POOR_QUALITY: "POOR_QUALITY"; ACCESS_ISSUE: "ACCESS_ISSUE"; }>; detail: z.ZodOptional; }, z.core.$strict>; /** `POST /marketplace/bookings/:id/dispute` */ declare const RaiseBookingDisputeRequestSchema: z.ZodObject<{ reason: z.ZodEnum<{ BOOKING_SERVICE_NOT_DELIVERED: "BOOKING_SERVICE_NOT_DELIVERED"; BOOKING_SERVICE_POOR_QUALITY: "BOOKING_SERVICE_POOR_QUALITY"; BOOKING_SCOPE_MISMATCH: "BOOKING_SCOPE_MISMATCH"; BOOKING_OTHER: "BOOKING_OTHER"; }>; detail: z.ZodOptional; }, z.core.$strict>; declare const RaiseBookingDisputeResponseSchema: z.ZodObject<{ bookingId: z.ZodUUID; dispute: z.ZodObject<{ id: z.ZodUUID; state: z.ZodEnum<{ EXPIRED: "EXPIRED"; OPEN: "OPEN"; RESOLVED_CUSTOMER: "RESOLVED_CUSTOMER"; RESOLVED_HOST: "RESOLVED_HOST"; }>; raisedBy: z.ZodEnum<{ HOST: "HOST"; VENDOR: "VENDOR"; }>; }, z.core.$strip>; }, z.core.$strict>; /** `GET /marketplace/bookings/:id/dispute` — queryable row linked to the booking. */ declare const GetBookingDisputeResponseSchema: z.ZodObject<{ id: z.ZodUUID; bookingId: z.ZodUUID; subjectType: z.ZodLiteral<"BOOKING">; userId: z.ZodUUID; reason: z.ZodEnum<{ BOOKING_SERVICE_NOT_DELIVERED: "BOOKING_SERVICE_NOT_DELIVERED"; BOOKING_SERVICE_POOR_QUALITY: "BOOKING_SERVICE_POOR_QUALITY"; BOOKING_SCOPE_MISMATCH: "BOOKING_SCOPE_MISMATCH"; BOOKING_OTHER: "BOOKING_OTHER"; }>; detail: z.ZodNullable; state: z.ZodEnum<{ EXPIRED: "EXPIRED"; OPEN: "OPEN"; RESOLVED_CUSTOMER: "RESOLVED_CUSTOMER"; RESOLVED_HOST: "RESOLVED_HOST"; }>; raisedBy: z.ZodEnum<{ HOST: "HOST"; VENDOR: "VENDOR"; }>; resolvedAt: z.ZodNullable; resolutionOutcome: z.ZodNullable>; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; declare const AdminDisputeResponseSchema: z.ZodObject<{ id: z.ZodUUID; subjectType: z.ZodEnum<{ BOOKING: "BOOKING"; ENTITLEMENT: "ENTITLEMENT"; }>; subjectId: z.ZodString; entitlementId: z.ZodNullable; eventId: z.ZodNullable; bookingId: z.ZodNullable; userId: z.ZodUUID; reason: z.ZodEnum<{ OTHER: "OTHER"; EVENT_DID_NOT_RUN: "EVENT_DID_NOT_RUN"; POOR_QUALITY: "POOR_QUALITY"; ACCESS_ISSUE: "ACCESS_ISSUE"; BOOKING_SERVICE_NOT_DELIVERED: "BOOKING_SERVICE_NOT_DELIVERED"; BOOKING_SERVICE_POOR_QUALITY: "BOOKING_SERVICE_POOR_QUALITY"; BOOKING_SCOPE_MISMATCH: "BOOKING_SCOPE_MISMATCH"; BOOKING_OTHER: "BOOKING_OTHER"; }>; detail: z.ZodNullable; state: z.ZodEnum<{ EXPIRED: "EXPIRED"; OPEN: "OPEN"; RESOLVED_CUSTOMER: "RESOLVED_CUSTOMER"; RESOLVED_HOST: "RESOLVED_HOST"; }>; resolvedAt: z.ZodNullable; resolutionOutcome: z.ZodNullable>; correlationId: z.ZodString; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; declare const MyDisputesQuerySchema: z.ZodObject<{ state: z.ZodOptional>; pageNumber: z.ZodOptional>; pageSize: z.ZodOptional>; }, z.core.$strict>; declare const AdminDisputesQuerySchema: z.ZodObject<{ state: z.ZodOptional>; eventId: z.ZodOptional; bookingId: z.ZodOptional; subjectType: z.ZodOptional>; pageNumber: z.ZodOptional>; pageSize: z.ZodOptional>; }, z.core.$strict>; declare const ResolveDisputeRequestSchema: z.ZodObject<{ outcome: z.ZodEnum<{ REFUNDED: "REFUNDED"; DENIED: "DENIED"; PARTIAL_REFUND: "PARTIAL_REFUND"; }>; refundId: z.ZodOptional; resolutionNote: z.ZodOptional; }, z.core.$strict>; declare const PagedDisputesResponseSchema: z.ZodObject<{ totalCount: z.ZodNumber; pageNumber: z.ZodNumber; pageSize: z.ZodNumber; totalPages: z.ZodNumber; hasPreviousPage: z.ZodBoolean; hasNextPage: z.ZodBoolean; items: z.ZodArray; subjectId: z.ZodString; entitlementId: z.ZodNullable; eventId: z.ZodNullable; bookingId: z.ZodNullable; userId: z.ZodUUID; reason: z.ZodEnum<{ OTHER: "OTHER"; EVENT_DID_NOT_RUN: "EVENT_DID_NOT_RUN"; POOR_QUALITY: "POOR_QUALITY"; ACCESS_ISSUE: "ACCESS_ISSUE"; BOOKING_SERVICE_NOT_DELIVERED: "BOOKING_SERVICE_NOT_DELIVERED"; BOOKING_SERVICE_POOR_QUALITY: "BOOKING_SERVICE_POOR_QUALITY"; BOOKING_SCOPE_MISMATCH: "BOOKING_SCOPE_MISMATCH"; BOOKING_OTHER: "BOOKING_OTHER"; }>; detail: z.ZodNullable; state: z.ZodEnum<{ EXPIRED: "EXPIRED"; OPEN: "OPEN"; RESOLVED_CUSTOMER: "RESOLVED_CUSTOMER"; RESOLVED_HOST: "RESOLVED_HOST"; }>; resolvedAt: z.ZodNullable; resolutionOutcome: z.ZodNullable>; correlationId: z.ZodString; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>>; }, z.core.$strict>; declare const AdminRevokeViewerPlaybackSchema: z.ZodObject<{ viewerId: z.ZodUUID; reason: z.ZodOptional; }, z.core.$strip>; declare const AdminRevokedViewersResponseSchema: z.ZodObject<{ eventId: z.ZodUUID; viewerIds: z.ZodArray; }, z.core.$strip>; type DisputeResponse = z.infer; type DisputeReasonValue = z.infer; type BookingDisputeReasonValue = z.infer; type AnyDisputeReasonValue = z.infer; type DisputeSubjectTypeValue = z.infer; type DisputeStateValue = z.infer; type DisputeOutcomeValue = z.infer; type OpenDisputeRequest = z.infer; type RaiseBookingDisputeRequest = z.infer; type RaiseBookingDisputeResponse = z.infer; type GetBookingDisputeResponse = z.infer; type AdminDisputeResponse = z.infer; type MyDisputesQuery = z.infer; type AdminDisputesQuery = z.infer; type ResolveDisputeRequest = z.infer; type PagedDisputesResponse = z.infer; type AdminRevokeViewerPlayback = z.infer; type AdminRevokedViewersResponse = z.infer; export { type AdminDisputeResponse, AdminDisputeResponseSchema, type AdminDisputesQuery, AdminDisputesQuerySchema, type AdminRevokeViewerPlayback, AdminRevokeViewerPlaybackSchema, type AdminRevokedViewersResponse, AdminRevokedViewersResponseSchema, AnyDisputeReasonSchema, type AnyDisputeReasonValue, BOOKING_DISPUTE_DETAIL_MAX_LENGTH, BookingDisputeReasonSchema, type BookingDisputeReasonValue, DISPUTE_DETAIL_MAX_LENGTH, DisputeOutcomeSchema, type DisputeOutcomeValue, DisputeReasonSchema, type DisputeReasonValue, type DisputeResponse, DisputeResponseSchema, DisputeStateSchema, type DisputeStateValue, DisputeStatus, DisputeSubjectTypeSchema, type DisputeSubjectTypeValue, DisputeType, type GetBookingDisputeResponse, GetBookingDisputeResponseSchema, type MyDisputesQuery, MyDisputesQuerySchema, type OpenDisputeRequest, OpenDisputeRequestSchema, type PagedDisputesResponse, PagedDisputesResponseSchema, type RaiseBookingDisputeRequest, RaiseBookingDisputeRequestSchema, type RaiseBookingDisputeResponse, RaiseBookingDisputeResponseSchema, type ResolveDisputeRequest, ResolveDisputeRequestSchema };