import z from 'zod'; declare const HOST_DATE_RANGE_PRESETS: readonly ["today", "last7d", "last30d", "last90d"]; type HostDateRangePreset = (typeof HOST_DATE_RANGE_PRESETS)[number]; /** Shared `range` / `start` / `end` triple. `range` wins: an explicit * preset always computes its own window, and `start`/`end` are read only * when `range` is `custom` or absent. */ declare const HostDateRangeQuerySchema: z.ZodObject<{ range: z.ZodOptional>; start: z.ZodOptional; end: z.ZodOptional; tz: z.ZodOptional; }, z.core.$strip>; declare const HostOverviewQuerySchema: z.ZodObject<{ range: z.ZodOptional>; start: z.ZodOptional; end: z.ZodOptional; tz: z.ZodOptional; }, z.core.$strip>; /** Free-text search term. Trimmed; empty collapses to `undefined`. */ declare const HostSearchTermSchema: z.ZodPipe, z.ZodTransform>; declare const HostEventsTabSchema: z.ZodEnum<{ LIVE: "LIVE"; ENDED: "ENDED"; UPCOMING: "UPCOMING"; DRAFTS: "DRAFTS"; }>; declare const HostSearchQuerySchema: z.ZodObject<{ q: z.ZodString; limit: z.ZodDefault>; }, z.core.$strip>; declare const HostEventPatchSchema: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; coverImageUrl: z.ZodOptional; previewClipUrl: z.ZodOptional>; ticketPrice: z.ZodOptional; category: z.ZodOptional>; scheduledStartLocal: z.ZodOptional; durationMinutes: z.ZodOptional; tags: z.ZodOptional>; location: z.ZodOptional; accessModel: z.ZodOptional>; currency: z.ZodOptional>; maxTickets: z.ZodOptional>; visibility: z.ZodOptional>; inviteOnly: z.ZodOptional; guestEmails: z.ZodOptional>; guestImportIds: z.ZodOptional>; liveChatEnabled: z.ZodOptional; replayAccess: z.ZodOptional>; replayWindow: z.ZodOptional; replayPrice: z.ZodOptional; productionMode: z.ZodOptional>; crewIds: z.ZodOptional>; productionNotes: z.ZodOptional>; backupStreamEnabled: z.ZodOptional; }, z.core.$strip>; declare const HostEventsListQuerySchema: z.ZodObject<{ pageNumber: z.ZodDefault>; pageSize: z.ZodDefault>; tab: z.ZodEnum<{ LIVE: "LIVE"; ENDED: "ENDED"; UPCOMING: "UPCOMING"; DRAFTS: "DRAFTS"; }>; }, z.core.$strip>; declare const HostEventRowResponseSchema: z.ZodObject<{ eventId: z.ZodString; title: z.ZodString; date: z.ZodISODateTime; ticketsSold: z.ZodNumber; plannedDurationMinutes: z.ZodNullable; revenue: z.ZodObject<{ currency: z.ZodString; value: z.ZodString; }, z.core.$strip>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DRAFT: "DRAFT"; LIVE: "LIVE"; ENDED: "ENDED"; CANCELLED: "CANCELLED"; PAUSED: "PAUSED"; }>; }, z.core.$strip>; declare const HostEventsTabResponseSchema: z.ZodObject<{ totalCount: z.ZodNumber; pageNumber: z.ZodNumber; pageSize: z.ZodNumber; totalPages: z.ZodNumber; hasPreviousPage: z.ZodBoolean; hasNextPage: z.ZodBoolean; tab: z.ZodEnum<{ LIVE: "LIVE"; ENDED: "ENDED"; UPCOMING: "UPCOMING"; DRAFTS: "DRAFTS"; }>; rows: z.ZodArray; revenue: z.ZodObject<{ currency: z.ZodString; value: z.ZodString; }, z.core.$strip>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DRAFT: "DRAFT"; LIVE: "LIVE"; ENDED: "ENDED"; CANCELLED: "CANCELLED"; PAUSED: "PAUSED"; }>; }, z.core.$strip>>; }, z.core.$strip>; declare const HostEventsTabCountsResponseSchema: z.ZodObject<{ upcoming: z.ZodNumber; live: z.ZodNumber; ended: z.ZodNumber; drafts: z.ZodNumber; }, z.core.$strip>; declare const HostEventWizardStartSchema: z.ZodObject<{ title: z.ZodOptional; }, z.core.$strip>; declare const HostEventsListPagedQuerySchema: z.ZodObject<{ pageNumber: z.ZodDefault>; pageSize: z.ZodDefault>; range: z.ZodOptional>; start: z.ZodOptional; end: z.ZodOptional; tz: z.ZodOptional; tab: z.ZodEnum<{ LIVE: "LIVE"; ENDED: "ENDED"; UPCOMING: "UPCOMING"; DRAFTS: "DRAFTS"; }>; mode: z.ZodOptional>; q: z.ZodPipe, z.ZodTransform>; }, z.core.$strip>; declare const HostEventsTabCountsQuerySchema: z.ZodObject<{ range: z.ZodOptional>; start: z.ZodOptional; end: z.ZodOptional; tz: z.ZodOptional; q: z.ZodPipe, z.ZodTransform>; }, z.core.$strip>; declare const HostEventWizardStartResponseSchema: z.ZodObject<{ id: z.ZodUUID; state: z.ZodLiteral<"DRAFT">; wizardStep: z.ZodNullable; }, z.core.$strip>; declare const HostEventWizardStepResponseSchema: z.ZodObject<{ id: z.ZodUUID; wizardStep: z.ZodNullable; streamingVerified: z.ZodOptional; verificationToken: z.ZodOptional; crewIds: z.ZodOptional>; crewAssignments: z.ZodOptional; }, z.core.$strip>; location: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>; /** `POST /host/events/guest-imports`: emails extracted from a .csv/.xlsx. */ declare const HostEventGuestImportResponseSchema: z.ZodObject<{ importId: z.ZodUUID; fileName: z.ZodString; emails: z.ZodArray; invalidCount: z.ZodNumber; duplicateCount: z.ZodNumber; }, z.core.$strip>; declare const HostEventGuestsQuerySchema: z.ZodObject<{ pageNumber: z.ZodDefault>; pageSize: z.ZodDefault>; status: z.ZodOptional>; q: z.ZodPipe, z.ZodTransform>; }, z.core.$strip>; declare const HostEventGuestSchema: z.ZodObject<{ id: z.ZodUUID; email: z.ZodEmail; displayName: z.ZodNullable; status: z.ZodEnum<{ readonly NOT_SENT: "NOT_SENT"; readonly INVITED: "INVITED"; readonly ACCEPTED: "ACCEPTED"; readonly DECLINED: "DECLINED"; readonly CHECKOUT_STARTED: "CHECKOUT_STARTED"; }>; invitedAt: z.ZodISODateTime; ticketPaid: z.ZodNullable; }, z.core.$strip>>; canResend: z.ZodBoolean; }, z.core.$strip>; declare const HostEventGuestCountsSchema: z.ZodObject<{ all: z.ZodNumber; invited: z.ZodNumber; accepted: z.ZodNumber; declined: z.ZodNumber; checkoutStarted: z.ZodNumber; }, z.core.$strip>; declare const HostEventGuestsResponseSchema: z.ZodObject<{ totalCount: z.ZodNumber; pageNumber: z.ZodNumber; pageSize: z.ZodNumber; totalPages: z.ZodNumber; hasPreviousPage: z.ZodBoolean; hasNextPage: z.ZodBoolean; items: z.ZodArray; status: z.ZodEnum<{ readonly NOT_SENT: "NOT_SENT"; readonly INVITED: "INVITED"; readonly ACCEPTED: "ACCEPTED"; readonly DECLINED: "DECLINED"; readonly CHECKOUT_STARTED: "CHECKOUT_STARTED"; }>; invitedAt: z.ZodISODateTime; ticketPaid: z.ZodNullable; }, z.core.$strip>>; canResend: z.ZodBoolean; }, z.core.$strip>>; counts: z.ZodObject<{ all: z.ZodNumber; invited: z.ZodNumber; accepted: z.ZodNumber; declined: z.ZodNumber; checkoutStarted: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; /** `POST /host/events/:id/guests` — adds to the list; never replaces it. */ declare const HostEventGuestsAddRequestSchema: z.ZodObject<{ emails: z.ZodArray; guestImportIds: z.ZodOptional>; }, z.core.$strip>; declare const HostEventGuestsAddResponseSchema: z.ZodObject<{ added: z.ZodNumber; alreadyOnList: z.ZodNumber; }, z.core.$strip>; /** * `DELETE /host/events/:id/guests/:guestId`. A guest who paid is only * removed with `confirmRefund=true`; otherwise the call returns 409 with * `code: 'GUEST_HAS_PAID_TICKET'` and the amount that would be refunded. */ declare const HostEventGuestRemoveQuerySchema: z.ZodObject<{ confirmRefund: z.ZodPipe>, z.ZodTransform>; }, z.core.$strip>; declare const HostEventGuestSummarySchema: z.ZodObject<{ total: z.ZodNumber; accepted: z.ZodNumber; }, z.core.$strip>; declare const HostEventWizardPublishResponseSchema: z.ZodObject<{ id: z.ZodUUID; state: z.ZodLiteral<"SCHEDULED">; publishedAt: z.ZodNullable; bookingIds: z.ZodArray; }, z.core.$strip>; declare const HostEventCancelResponseSchema: z.ZodObject<{ id: z.ZodUUID; state: z.ZodLiteral<"CANCELLED">; cancelledAt: z.ZodNullable; }, z.core.$strip>; declare const HostOverviewResponseSchema: z.ZodObject<{ range: z.ZodObject<{ start: z.ZodString; end: z.ZodString; preset: z.ZodOptional; }, z.core.$strip>; kpis: z.ZodObject<{ totalRevenue: z.ZodObject<{ amount: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; deltaPct: z.ZodNullable; }, z.core.$strip>; upcomingEvents: z.ZodObject<{ count: z.ZodNumber; nextStartsAt: z.ZodNullable; }, z.core.$strip>; liveNow: z.ZodObject<{ eventCount: z.ZodNumber; totalViewers: z.ZodNumber; }, z.core.$strip>; totalViews: z.ZodObject<{ value: z.ZodNumber; deltaPct: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; live: z.ZodArray>; upcoming: z.ZodArray>; activity: z.ZodArray; subjectId: z.ZodString; occurredAt: z.ZodNumber; payload: z.ZodRecord; dedupeId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const HostActivityListPageSchema: 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; occurredAt: z.ZodNumber; payload: z.ZodRecord; dedupeId: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const HostSearchHitSchema: z.ZodObject<{ eventId: z.ZodUUID; title: z.ZodString; scheduledStart: z.ZodString; state: z.ZodString; }, z.core.$strip>; declare const HostSearchResponseSchema: z.ZodObject<{ hits: z.ZodArray>; }, z.core.$strip>; declare const HostNotificationsUnreadCountSchema: z.ZodObject<{ count: z.ZodNumber; }, z.core.$strip>; declare const HostEventsTabResponseClassSchema: z.ZodObject<{ totalCount: z.ZodNumber; pageNumber: z.ZodNumber; pageSize: z.ZodNumber; totalPages: z.ZodNumber; hasPreviousPage: z.ZodBoolean; hasNextPage: z.ZodBoolean; tab: z.ZodEnum<{ LIVE: "LIVE"; ENDED: "ENDED"; UPCOMING: "UPCOMING"; DRAFTS: "DRAFTS"; }>; items: z.ZodArray; revenue: z.ZodObject<{ currency: z.ZodString; value: z.ZodString; }, z.core.$strip>; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DRAFT: "DRAFT"; LIVE: "LIVE"; ENDED: "ENDED"; CANCELLED: "CANCELLED"; PAUSED: "PAUSED"; }>; }, z.core.$strip>>; }, z.core.$strip>; declare const HostEventFullResponseSchema: z.ZodObject<{ id: z.ZodUUID; hostId: z.ZodUUID; title: z.ZodString; description: z.ZodNullable; coverImageUrl: z.ZodNullable; previewClipUrl: z.ZodNullable; venueLocation: z.ZodNullable; scheduledStartLocal: z.ZodString; scheduledEndLocal: z.ZodString; scheduledEnd: z.ZodISODateTime; scheduledStart: z.ZodISODateTime; timezone: z.ZodString; expectedAudience: z.ZodNullable; plannedDurationMinutes: z.ZodNullable; visibility: z.ZodString; accessModel: z.ZodString; ticketPrice: z.ZodNullable; }, z.core.$strip>>; maxTickets: z.ZodNullable; allowlistData: z.ZodOptional>; inviteOnly: z.ZodBoolean; guestSummary: z.ZodObject<{ total: z.ZodNumber; accepted: z.ZodNumber; }, z.core.$strip>; liveChatEnabled: z.ZodBoolean; replayAccess: z.ZodEnum<{ readonly INCLUDED: "INCLUDED"; readonly DISABLED: "DISABLED"; readonly PAID_SEPARATELY: "PAID_SEPARATELY"; }>; replayAccessFee: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; retentionDays: z.ZodNumber; replayAvailableUntil: z.ZodNullable; shareableUrl: z.ZodNullable; state: z.ZodString; tags: z.ZodArray; isFeatured: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; publishedAt: z.ZodNullable; liveStartedAt: z.ZodNullable; liveEndedAt: z.ZodNullable; cancelledAt: z.ZodNullable; cancelledReason: z.ZodNullable; category: z.ZodString; wizardStep: z.ZodNullable; productionMode: z.ZodNullable; productionNotes: z.ZodNullable; streamingMode: z.ZodNullable>; }, z.core.$strip>; declare const HostEventWizardCurrentResponseSchema: z.ZodObject<{ id: z.ZodUUID; hostId: z.ZodUUID; title: z.ZodString; description: z.ZodNullable; coverImageUrl: z.ZodNullable; previewClipUrl: z.ZodNullable; venueLocation: z.ZodNullable; scheduledStartLocal: z.ZodString; scheduledEndLocal: z.ZodString; scheduledEnd: z.ZodISODateTime; scheduledStart: z.ZodISODateTime; timezone: z.ZodString; expectedAudience: z.ZodNullable; plannedDurationMinutes: z.ZodNullable; visibility: z.ZodString; accessModel: z.ZodString; ticketPrice: z.ZodNullable; }, z.core.$strip>>; maxTickets: z.ZodNullable; allowlistData: z.ZodOptional>; inviteOnly: z.ZodBoolean; guestSummary: z.ZodObject<{ total: z.ZodNumber; accepted: z.ZodNumber; }, z.core.$strip>; liveChatEnabled: z.ZodBoolean; replayAccess: z.ZodEnum<{ readonly INCLUDED: "INCLUDED"; readonly DISABLED: "DISABLED"; readonly PAID_SEPARATELY: "PAID_SEPARATELY"; }>; replayAccessFee: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; retentionDays: z.ZodNumber; replayAvailableUntil: z.ZodNullable; shareableUrl: z.ZodNullable; state: z.ZodString; tags: z.ZodArray; isFeatured: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; publishedAt: z.ZodNullable; liveStartedAt: z.ZodNullable; liveEndedAt: z.ZodNullable; cancelledAt: z.ZodNullable; cancelledReason: z.ZodNullable; category: z.ZodString; wizardStep: z.ZodNullable; productionMode: z.ZodNullable; productionNotes: z.ZodNullable; streamingMode: z.ZodNullable>; crewIds: z.ZodArray; crewAssignments: z.ZodDefault; }, z.core.$strip>; location: z.ZodString; }, z.core.$strip>>>>; }, z.core.$strip>; declare const ReadinessItemIdSchema: z.ZodEnum<{ EVENT_DETAILS: "EVENT_DETAILS"; PRICING: "PRICING"; CREW_ASSIGNED: "CREW_ASSIGNED"; STREAM_TESTED: "STREAM_TESTED"; }>; declare const ReadinessItemStateSchema: z.ZodEnum<{ PASS: "PASS"; WARN: "WARN"; FAIL: "FAIL"; }>; declare const ReadinessBlockReasonSchema: z.ZodEnum<{ CHECKLIST_INCOMPLETE: "CHECKLIST_INCOMPLETE"; BEFORE_WINDOW: "BEFORE_WINDOW"; AFTER_WINDOW: "AFTER_WINDOW"; ALREADY_LIVE: "ALREADY_LIVE"; NOT_OWNED: "NOT_OWNED"; }>; declare const StreamingStatusSchema: z.ZodEnum<{ READY_FOR_TEST: "READY_FOR_TEST"; LIVE: "LIVE"; NOT_PROVISIONED: "NOT_PROVISIONED"; STREAM_TEST_FAILED: "STREAM_TEST_FAILED"; STREAM_TEST_SUCCESSFUL: "STREAM_TEST_SUCCESSFUL"; }>; declare const ProductionModeSchema: z.ZodEnum<{ SELF: "SELF"; HIRE: "HIRE"; }>; declare const ReadinessItemSchema: z.ZodObject<{ id: z.ZodEnum<{ EVENT_DETAILS: "EVENT_DETAILS"; PRICING: "PRICING"; CREW_ASSIGNED: "CREW_ASSIGNED"; STREAM_TESTED: "STREAM_TESTED"; }>; label: z.ZodString; state: z.ZodEnum<{ PASS: "PASS"; WARN: "WARN"; FAIL: "FAIL"; }>; detail: z.ZodOptional; cta: z.ZodOptional>; }, z.core.$strip>; /** * Pre-live checklist — the technical go-live checks evaluated against the * DB plus a live snapshot from the streaming provider. * * Distinct from the readiness block: readiness answers "is this event * ready to be published and staffed", the checklist answers "is the * encoder actually working right now". Items that depend on live metrics * report PENDING when the host is not currently broadcasting a test * stream, so the checklist is only meaningful inside its window. * * Served by `GET /host/events/:id/pre-live-checklist`, and embedded on * the host event dashboard as `preLiveChecklist` once the window opens. */ declare const PreLiveChecklistItemIdSchema: z.ZodEnum<{ CREDENTIALS_LOADED: "CREDENTIALS_LOADED"; ENCODER_REACHABLE: "ENCODER_REACHABLE"; TEST_STREAM: "TEST_STREAM"; NETWORK_HEALTH: "NETWORK_HEALTH"; ENCODER_SETTINGS: "ENCODER_SETTINGS"; AUDIO_HEALTH: "AUDIO_HEALTH"; LATENCY: "LATENCY"; }>; /** PENDING = not yet observable (no live encoder snapshot), not "failing". */ declare const PreLiveChecklistItemStateSchema: z.ZodEnum<{ PENDING: "PENDING"; PASS: "PASS"; FAIL: "FAIL"; }>; /** Only REQUIRED items gate the manual go-live transition. */ declare const PreLiveChecklistItemSeveritySchema: z.ZodEnum<{ REQUIRED: "REQUIRED"; ADVISORY: "ADVISORY"; }>; /** Encoder metrics sampled from the provider; all optional and nullable. */ declare const PreLiveChecklistItemMetricsSchema: z.ZodObject<{ videoBitrateKbps: z.ZodOptional>; videoFramerate: z.ZodOptional>; videoWidth: z.ZodOptional>; videoHeight: z.ZodOptional>; videoCodec: z.ZodOptional>; audioBitrateKbps: z.ZodOptional>; audioChannels: z.ZodOptional>; audioSampleRateHz: z.ZodOptional>; audioCodec: z.ZodOptional>; latencyMode: z.ZodOptional>>; targetLatencySeconds: z.ZodOptional>; }, z.core.$strip>; declare const PreLiveChecklistItemSchema: z.ZodObject<{ id: z.ZodEnum<{ CREDENTIALS_LOADED: "CREDENTIALS_LOADED"; ENCODER_REACHABLE: "ENCODER_REACHABLE"; TEST_STREAM: "TEST_STREAM"; NETWORK_HEALTH: "NETWORK_HEALTH"; ENCODER_SETTINGS: "ENCODER_SETTINGS"; AUDIO_HEALTH: "AUDIO_HEALTH"; LATENCY: "LATENCY"; }>; state: z.ZodEnum<{ PENDING: "PENDING"; PASS: "PASS"; FAIL: "FAIL"; }>; severity: z.ZodEnum<{ REQUIRED: "REQUIRED"; ADVISORY: "ADVISORY"; }>; detail: z.ZodOptional; observedAt: z.ZodOptional; metrics: z.ZodOptional>; videoFramerate: z.ZodOptional>; videoWidth: z.ZodOptional>; videoHeight: z.ZodOptional>; videoCodec: z.ZodOptional>; audioBitrateKbps: z.ZodOptional>; audioChannels: z.ZodOptional>; audioSampleRateHz: z.ZodOptional>; audioCodec: z.ZodOptional>; latencyMode: z.ZodOptional>>; targetLatencySeconds: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; declare const PreLiveChecklistStatusSchema: z.ZodObject<{ eventId: z.ZodUUID; items: z.ZodArray; state: z.ZodEnum<{ PENDING: "PENDING"; PASS: "PASS"; FAIL: "FAIL"; }>; severity: z.ZodEnum<{ REQUIRED: "REQUIRED"; ADVISORY: "ADVISORY"; }>; detail: z.ZodOptional; observedAt: z.ZodOptional; metrics: z.ZodOptional>; videoFramerate: z.ZodOptional>; videoWidth: z.ZodOptional>; videoHeight: z.ZodOptional>; videoCodec: z.ZodOptional>; audioBitrateKbps: z.ZodOptional>; audioChannels: z.ZodOptional>; audioSampleRateHz: z.ZodOptional>; audioCodec: z.ZodOptional>; latencyMode: z.ZodOptional>>; targetLatencySeconds: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; passed: z.ZodBoolean; windowOpenedAt: z.ZodISODateTime; windowMandatoryAt: z.ZodISODateTime; evaluatedAt: z.ZodISODateTime; }, z.core.$strip>; declare const HostEventReadinessBlockSchema: z.ZodObject<{ progress: z.ZodNumber; items: z.ZodArray; label: z.ZodString; state: z.ZodEnum<{ PASS: "PASS"; WARN: "WARN"; FAIL: "FAIL"; }>; detail: z.ZodOptional; cta: z.ZodOptional>; }, z.core.$strip>>; canGoLive: z.ZodBoolean; blockReason: z.ZodOptional>; }, z.core.$strip>; /** `GET /host/events/:id/dashboard` — optional active-crew filters */ declare const ListHostEventDashboardQuerySchema: z.ZodObject<{ crewSearch: z.ZodOptional; crewState: z.ZodOptional>; }, z.core.$strip>; declare const HostEventCrewMemberSchema: z.ZodObject<{ bookingId: z.ZodString; vendorProfileId: z.ZodString; displayName: z.ZodString; companyName: z.ZodString; vendorAvatarUrl: z.ZodNullable; vendorServiceCategoryLabels: z.ZodArray; vendorEquipmentLabels: z.ZodArray; vendorIsVerified: z.ZodBoolean; role: z.ZodNullable; responsibilities: z.ZodArray; state: z.ZodEnum<{ readonly DRAFT: "DRAFT"; readonly REQUESTED: "REQUESTED"; readonly AWAITING_VENDOR_RESPONSE: "AWAITING_VENDOR_RESPONSE"; readonly IN_NEGOTIATION: "IN_NEGOTIATION"; readonly ACCEPTED: "ACCEPTED"; readonly REJECTED: "REJECTED"; readonly CANCELLED: "CANCELLED"; readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING"; /** Shared `range` / `start` / `end` triple. `range` wins: an explicit * preset always computes its own window, and `start`/`end` are read only * when `range` is `custom` or absent. */ readonly CONFIRMED: "CONFIRMED"; readonly IN_PROGRESS: "IN_PROGRESS"; readonly SERVICE_COMPLETED: "SERVICE_COMPLETED"; readonly IN_DISPUTE: "IN_DISPUTE"; readonly CLOSED: "CLOSED"; readonly AWAITING_VENDOR_RECONFIRM: "AWAITING_VENDOR_RECONFIRM"; }>; confirmedAt: z.ZodNullable; }, z.core.$strip>; declare const HostProductionCrewPhaseSchema: z.ZodEnum<{ ACTIVE: "ACTIVE"; PAST: "PAST"; }>; /** `GET /host/production/crew` — host-level crew roster across events */ declare const ListHostProductionCrewQuerySchema: z.ZodObject<{ pageNumber: z.ZodDefault>; pageSize: z.ZodDefault>; phase: z.ZodDefault>; eventId: z.ZodOptional; crewSearch: z.ZodOptional; crewState: z.ZodOptional>; }, z.core.$strip>; declare const HostProductionCrewItemSchema: z.ZodObject<{ bookingId: z.ZodString; vendorProfileId: z.ZodString; displayName: z.ZodString; companyName: z.ZodString; vendorAvatarUrl: z.ZodNullable; vendorServiceCategoryLabels: z.ZodArray; vendorEquipmentLabels: z.ZodArray; vendorIsVerified: z.ZodBoolean; role: z.ZodNullable; responsibilities: z.ZodArray; state: z.ZodEnum<{ readonly DRAFT: "DRAFT"; readonly REQUESTED: "REQUESTED"; readonly AWAITING_VENDOR_RESPONSE: "AWAITING_VENDOR_RESPONSE"; readonly IN_NEGOTIATION: "IN_NEGOTIATION"; readonly ACCEPTED: "ACCEPTED"; readonly REJECTED: "REJECTED"; readonly CANCELLED: "CANCELLED"; readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING"; /** Shared `range` / `start` / `end` triple. `range` wins: an explicit * preset always computes its own window, and `start`/`end` are read only * when `range` is `custom` or absent. */ readonly CONFIRMED: "CONFIRMED"; readonly IN_PROGRESS: "IN_PROGRESS"; readonly SERVICE_COMPLETED: "SERVICE_COMPLETED"; readonly IN_DISPUTE: "IN_DISPUTE"; readonly CLOSED: "CLOSED"; readonly AWAITING_VENDOR_RECONFIRM: "AWAITING_VENDOR_RECONFIRM"; }>; confirmedAt: z.ZodNullable; eventId: z.ZodUUID; eventTitle: z.ZodString; }, z.core.$strip>; declare const HostEventAudienceResponseSchema: z.ZodObject<{ eventId: z.ZodUUID; totalViewers: z.ZodNumber; uniqueViewers: z.ZodNumber; peakConcurrent: z.ZodNumber; registeredCount: z.ZodNumber; paidCount: z.ZodNumber; refundedCount: z.ZodNumber; returningViewerCount: z.ZodNullable; highValueBuyerCount: z.ZodNullable; grossRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; computedAt: z.ZodISODateTime; byDeviceType: z.ZodNullable>; }, z.core.$strip>; declare const HostEventReplayPerformanceResponseSchema: z.ZodObject<{ eventId: z.ZodUUID; totalReplayViewers: z.ZodNumber; completedViews: z.ZodNumber; avgWatchProgressPct: z.ZodNullable; totalWatchTimeSec: z.ZodNumber; activeReplayPurchases: z.ZodNumber; replayRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; computedAt: z.ZodISODateTime; points: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; declare const HostEventDashboardPostEventBlockSchema: z.ZodObject<{ audience: z.ZodNullable; highValueBuyerCount: z.ZodNullable; grossRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; computedAt: z.ZodISODateTime; byDeviceType: z.ZodNullable>; }, z.core.$strip>>; replayPerformance: z.ZodNullable; totalWatchTimeSec: z.ZodNumber; activeReplayPurchases: z.ZodNumber; replayRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; computedAt: z.ZodISODateTime; points: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; declare const PagedHostProductionCrewResponseSchema: z.ZodObject<{ totalCount: z.ZodNumber; pageNumber: z.ZodNumber; pageSize: z.ZodNumber; totalPages: z.ZodNumber; hasPreviousPage: z.ZodBoolean; hasNextPage: z.ZodBoolean; items: z.ZodArray; vendorServiceCategoryLabels: z.ZodArray; vendorEquipmentLabels: z.ZodArray; vendorIsVerified: z.ZodBoolean; role: z.ZodNullable; responsibilities: z.ZodArray; state: z.ZodEnum<{ readonly DRAFT: "DRAFT"; readonly REQUESTED: "REQUESTED"; readonly AWAITING_VENDOR_RESPONSE: "AWAITING_VENDOR_RESPONSE"; readonly IN_NEGOTIATION: "IN_NEGOTIATION"; readonly ACCEPTED: "ACCEPTED"; readonly REJECTED: "REJECTED"; readonly CANCELLED: "CANCELLED"; readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING"; /** Shared `range` / `start` / `end` triple. `range` wins: an explicit * preset always computes its own window, and `start`/`end` are read only * when `range` is `custom` or absent. */ readonly CONFIRMED: "CONFIRMED"; readonly IN_PROGRESS: "IN_PROGRESS"; readonly SERVICE_COMPLETED: "SERVICE_COMPLETED"; readonly IN_DISPUTE: "IN_DISPUTE"; readonly CLOSED: "CLOSED"; readonly AWAITING_VENDOR_RECONFIRM: "AWAITING_VENDOR_RECONFIRM"; }>; confirmedAt: z.ZodNullable; eventId: z.ZodUUID; eventTitle: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; declare const HostEventDashboardResponseSchema: z.ZodObject<{ serverNow: z.ZodISODateTime; event: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodNullable; coverImageUrl: z.ZodNullable; scheduledStartLocal: z.ZodISODateTime; scheduledStart: z.ZodISODateTime; scheduledEndLocal: z.ZodISODateTime; scheduledEnd: z.ZodISODateTime; timezone: z.ZodString; accessModel: z.ZodString; ticketPrice: z.ZodNullable; }, z.core.$strip>>; shareableUrl: z.ZodNullable; state: z.ZodString; visibility: z.ZodString; productionMode: z.ZodNullable>; goLiveEligibleAt: z.ZodNullable; replayAccess: z.ZodEnum<{ readonly INCLUDED: "INCLUDED"; readonly DISABLED: "DISABLED"; readonly PAID_SEPARATELY: "PAID_SEPARATELY"; }>; replayAccessFee: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; retentionDays: z.ZodNumber; replayAvailableUntil: z.ZodNullable; }, z.core.$strip>; ticketing: z.ZodObject<{ totalPayingCapacity: z.ZodNullable; ticketsSold: z.ZodNumber; revenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; liveRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; ticketRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; replayRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; hostShare: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; platformFee: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; }, z.core.$strip>; audience: z.ZodObject<{ registered: z.ZodNumber; watchingNow: z.ZodNumber; byCountry: z.ZodNullable>; byTrafficSource: z.ZodNullable>; }, z.core.$strip>; readiness: z.ZodObject<{ progress: z.ZodNumber; items: z.ZodArray; label: z.ZodString; state: z.ZodEnum<{ PASS: "PASS"; WARN: "WARN"; FAIL: "FAIL"; }>; detail: z.ZodOptional; cta: z.ZodOptional>; }, z.core.$strip>>; canGoLive: z.ZodBoolean; blockReason: z.ZodOptional>; }, z.core.$strip>; preLiveChecklist: z.ZodNullable; state: z.ZodEnum<{ PENDING: "PENDING"; PASS: "PASS"; FAIL: "FAIL"; }>; severity: z.ZodEnum<{ REQUIRED: "REQUIRED"; ADVISORY: "ADVISORY"; }>; detail: z.ZodOptional; observedAt: z.ZodOptional; metrics: z.ZodOptional>; videoFramerate: z.ZodOptional>; videoWidth: z.ZodOptional>; videoHeight: z.ZodOptional>; videoCodec: z.ZodOptional>; audioBitrateKbps: z.ZodOptional>; audioChannels: z.ZodOptional>; audioSampleRateHz: z.ZodOptional>; audioCodec: z.ZodOptional>; latencyMode: z.ZodOptional>>; targetLatencySeconds: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; passed: z.ZodBoolean; windowOpenedAt: z.ZodISODateTime; windowMandatoryAt: z.ZodISODateTime; evaluatedAt: z.ZodISODateTime; }, z.core.$strip>>; production: z.ZodObject<{ mode: z.ZodEnum<{ SELF: "SELF"; HIRE: "HIRE"; }>; streamingMode: z.ZodNullable>; crew: z.ZodArray; vendorServiceCategoryLabels: z.ZodArray; vendorEquipmentLabels: z.ZodArray; vendorIsVerified: z.ZodBoolean; role: z.ZodNullable; responsibilities: z.ZodArray; state: z.ZodEnum<{ readonly DRAFT: "DRAFT"; readonly REQUESTED: "REQUESTED"; readonly AWAITING_VENDOR_RESPONSE: "AWAITING_VENDOR_RESPONSE"; readonly IN_NEGOTIATION: "IN_NEGOTIATION"; readonly ACCEPTED: "ACCEPTED"; readonly REJECTED: "REJECTED"; readonly CANCELLED: "CANCELLED"; readonly AWAITING_ESCROW_FUNDING: "AWAITING_ESCROW_FUNDING"; /** Shared `range` / `start` / `end` triple. `range` wins: an explicit * preset always computes its own window, and `start`/`end` are read only * when `range` is `custom` or absent. */ readonly CONFIRMED: "CONFIRMED"; readonly IN_PROGRESS: "IN_PROGRESS"; readonly SERVICE_COMPLETED: "SERVICE_COMPLETED"; readonly IN_DISPUTE: "IN_DISPUTE"; readonly CLOSED: "CLOSED"; readonly AWAITING_VENDOR_RECONFIRM: "AWAITING_VENDOR_RECONFIRM"; }>; confirmedAt: z.ZodNullable; }, z.core.$strip>>; vacantCrewCount: z.ZodNumber; }, z.core.$strip>; streaming: z.ZodObject<{ status: z.ZodEnum<{ READY_FOR_TEST: "READY_FOR_TEST"; LIVE: "LIVE"; NOT_PROVISIONED: "NOT_PROVISIONED"; STREAM_TEST_FAILED: "STREAM_TEST_FAILED"; STREAM_TEST_SUCCESSFUL: "STREAM_TEST_SUCCESSFUL"; }>; serverUrl: z.ZodNullable; streamKey: z.ZodNullable; lastStreamTestAt: z.ZodNullable; testAvailableAt: z.ZodNullable; lastStreamTestFailedAt: z.ZodNullable; lastStreamTestFailureReason: z.ZodNullable; }, z.core.$strip>; share: z.ZodObject<{ shareableUrl: z.ZodString; slug: z.ZodString; }, z.core.$strip>; postEvent: z.ZodNullable; highValueBuyerCount: z.ZodNullable; grossRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; computedAt: z.ZodISODateTime; byDeviceType: z.ZodNullable>; }, z.core.$strip>>; replayPerformance: z.ZodNullable; totalWatchTimeSec: z.ZodNumber; activeReplayPurchases: z.ZodNumber; replayRevenue: z.ZodObject<{ amountMinor: z.ZodString; currency: z.ZodEnum<{ readonly NGN: "NGN"; readonly USD: "USD"; readonly GBP: "GBP"; readonly EUR: "EUR"; }>; }, z.core.$strip>; computedAt: z.ZodISODateTime; points: z.ZodArray; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; /** * `GET /host/events/:id/readiness` — everything the host's "Event * readiness" card needs in one call. * * Wider than the `readiness` block embedded in the dashboard payload: * it carries the pre-live checklist too. On the dashboard the two are * siblings (`readiness` + `preLiveChecklist`); on this endpoint they * arrive together, because the card renders them as one list and * polling two endpoints to fill one card is the bug this fixed. * * The two halves answer different questions and only the block gates * go-live: * * `items` static setup gates — details, pricing, crew, * stream test. These drive `progress` and * `canGoLive`. * `preLiveChecklist` live ingest health — credentials, encoder, * network, audio, latency. Advisory apart from * `CREDENTIALS_LOADED`. * * `null` for a finished event, or when the streaming-provider read * failed — a provider outage must not take the readiness card down. */ declare const HostEventReadinessResponseSchema: z.ZodObject<{ progress: z.ZodNumber; items: z.ZodArray; label: z.ZodString; state: z.ZodEnum<{ PASS: "PASS"; WARN: "WARN"; FAIL: "FAIL"; }>; detail: z.ZodOptional; cta: z.ZodOptional>; }, z.core.$strip>>; canGoLive: z.ZodBoolean; blockReason: z.ZodOptional>; preLiveChecklist: z.ZodNullable; state: z.ZodEnum<{ PENDING: "PENDING"; PASS: "PASS"; FAIL: "FAIL"; }>; severity: z.ZodEnum<{ REQUIRED: "REQUIRED"; ADVISORY: "ADVISORY"; }>; detail: z.ZodOptional; observedAt: z.ZodOptional; metrics: z.ZodOptional>; videoFramerate: z.ZodOptional>; videoWidth: z.ZodOptional>; videoHeight: z.ZodOptional>; videoCodec: z.ZodOptional>; audioBitrateKbps: z.ZodOptional>; audioChannels: z.ZodOptional>; audioSampleRateHz: z.ZodOptional>; audioCodec: z.ZodOptional>; latencyMode: z.ZodOptional>>; targetLatencySeconds: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; passed: z.ZodBoolean; windowOpenedAt: z.ZodISODateTime; windowMandatoryAt: z.ZodISODateTime; evaluatedAt: z.ZodISODateTime; }, z.core.$strip>>; }, z.core.$strip>; /** * `GET /marketplace/vendor/events/:id` — assigned-event execution * context for a booked vendor. Dashboard subset: schedule, * go-live, readiness, streaming status. Never discloses streamKey * (ingest credentials stay host-only). */ declare const VendorAssignedEventResponseSchema: z.ZodObject<{ serverNow: z.ZodISODateTime; bookingId: z.ZodUUID; event: z.ZodObject<{ id: z.ZodUUID; title: z.ZodString; description: z.ZodNullable; coverImageUrl: z.ZodNullable; scheduledStartLocal: z.ZodISODateTime; scheduledStart: z.ZodISODateTime; scheduledEndLocal: z.ZodISODateTime; scheduledEnd: z.ZodISODateTime; timezone: z.ZodString; state: z.ZodString; visibility: z.ZodString; productionMode: z.ZodNullable>; goLiveEligibleAt: z.ZodNullable; }, z.core.$strip>; readiness: z.ZodObject<{ progress: z.ZodNumber; items: z.ZodArray; label: z.ZodString; state: z.ZodEnum<{ PASS: "PASS"; WARN: "WARN"; FAIL: "FAIL"; }>; detail: z.ZodOptional; cta: z.ZodOptional>; }, z.core.$strip>>; canGoLive: z.ZodBoolean; blockReason: z.ZodOptional>; }, z.core.$strip>; streaming: z.ZodObject<{ status: z.ZodEnum<{ READY_FOR_TEST: "READY_FOR_TEST"; LIVE: "LIVE"; NOT_PROVISIONED: "NOT_PROVISIONED"; STREAM_TEST_FAILED: "STREAM_TEST_FAILED"; STREAM_TEST_SUCCESSFUL: "STREAM_TEST_SUCCESSFUL"; }>; serverUrl: z.ZodNullable; streamKey: z.ZodNull; lastStreamTestAt: z.ZodNullable; testAvailableAt: z.ZodNullable; lastStreamTestFailedAt: z.ZodNullable; lastStreamTestFailureReason: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; declare const HostEventShareResponseSchema: z.ZodObject<{ shareableUrl: z.ZodString; slug: z.ZodString; copyText: z.ZodString; channelLinks: z.ZodObject<{ twitter: z.ZodString; facebook: z.ZodString; email: z.ZodString; embed: z.ZodString; }, z.core.$strip>; qrCodeDataUrl: z.ZodString; }, z.core.$strip>; declare const LiveConsoleSliceSchema: z.ZodEnum<{ LIVE: "LIVE"; ENDED: "ENDED"; PRE_LIVE: "PRE_LIVE"; }>; declare const EndedReplayStateSchema: z.ZodEnum<{ PROCESSING: "PROCESSING"; UNAVAILABLE: "UNAVAILABLE"; READY: "READY"; }>; declare const LiveIngestHealthSchema: z.ZodEnum<{ HEALTHY: "HEALTHY"; DEGRADED: "DEGRADED"; INGEST_DOWN: "INGEST_DOWN"; }>; declare const EndedReasonSchema: z.ZodEnum<{ HOST_TERMINATED: "HOST_TERMINATED"; HOST_TERMINATED_EARLY: "HOST_TERMINATED_EARLY"; AUTO_AFTER_SILENCE: "AUTO_AFTER_SILENCE"; AUTO_AT_SCHEDULED_END: "AUTO_AT_SCHEDULED_END"; ADMIN_FORCED: "ADMIN_FORCED"; }>; declare const EventStreamAlertKindSchema: z.ZodEnum<{ AUDIO_QUALITY: "AUDIO_QUALITY"; VIDEO_QUALITY: "VIDEO_QUALITY"; BITRATE_DROP: "BITRATE_DROP"; INGEST_DISCONNECTED: "INGEST_DISCONNECTED"; INGEST_RECONNECTED: "INGEST_RECONNECTED"; RECORDING_FAILED: "RECORDING_FAILED"; STREAM_DENIED: "STREAM_DENIED"; }>; declare const EventStreamAlertSeveritySchema: z.ZodEnum<{ WARN: "WARN"; INFO: "INFO"; ERROR: "ERROR"; }>; declare const HostLiveConsoleEventSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; scheduledStart: z.ZodISODateTime; scheduledEnd: z.ZodISODateTime; scheduledStartLocal: z.ZodISODateTime; scheduledEndLocal: z.ZodISODateTime; extendedEndAt: z.ZodNullable; effectiveEndAt: z.ZodISODateTime; extensionMinutes: z.ZodNumber; state: z.ZodEnum<{ readonly DRAFT: "DRAFT"; readonly SCHEDULED: "SCHEDULED"; readonly READY_FOR_TEST: "READY_FOR_TEST"; readonly LIVE: "LIVE"; readonly ENDED: "ENDED"; readonly REPLAY_READY: "REPLAY_READY"; readonly ARCHIVED: "ARCHIVED"; readonly CANCELLED: "CANCELLED"; readonly PAUSED: "PAUSED"; readonly FAILED: "FAILED"; }>; currency: z.ZodString; accessModel: z.ZodString; }, z.core.$strip>; declare const HostLiveConsoleControlsSchema: z.ZodObject<{ streamEnabled: z.ZodBoolean; chatEnabled: z.ZodBoolean; canGoLive: z.ZodBoolean; canEndLive: z.ZodBoolean; requiresReauthToEnd: z.ZodBoolean; canExtend: z.ZodBoolean; extensionMinutesRemaining: z.ZodNumber; }, z.core.$strip>; declare const HostLiveConsoleMetricsSchema: z.ZodObject<{ viewers: z.ZodNumber; peakViewers: z.ZodNumber; ticketsSold: z.ZodNumber; revenue: z.ZodObject<{ value: z.ZodString; currency: z.ZodString; }, z.core.$strip>; joinedTotal: z.ZodNumber; }, z.core.$strip>; declare const HostLiveConsoleTelemetrySchema: z.ZodObject<{ bitrateKbps: z.ZodNumber; resolution: z.ZodString; latencyMs: z.ZodNullable; ingestHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; DEGRADED: "DEGRADED"; INGEST_DOWN: "INGEST_DOWN"; }>; lastSampleAt: z.ZodISODateTime; }, z.core.$strip>; declare const HostLiveConsoleCrewMemberSchema: z.ZodObject<{ bookingId: z.ZodString; vendorProfileId: z.ZodString; displayName: z.ZodString; role: z.ZodNullable; online: z.ZodBoolean; }, z.core.$strip>; declare const HostLiveConsoleAlertSchema: z.ZodObject<{ id: z.ZodString; kind: z.ZodEnum<{ AUDIO_QUALITY: "AUDIO_QUALITY"; VIDEO_QUALITY: "VIDEO_QUALITY"; BITRATE_DROP: "BITRATE_DROP"; INGEST_DISCONNECTED: "INGEST_DISCONNECTED"; INGEST_RECONNECTED: "INGEST_RECONNECTED"; RECORDING_FAILED: "RECORDING_FAILED"; STREAM_DENIED: "STREAM_DENIED"; }>; severity: z.ZodEnum<{ WARN: "WARN"; INFO: "INFO"; ERROR: "ERROR"; }>; message: z.ZodString; startedAt: z.ZodISODateTime; acknowledgedAt: z.ZodNullable; }, z.core.$strip>; declare const HostLiveConsoleChatSchema: z.ZodObject<{ enabled: z.ZodBoolean; socketNamespace: z.ZodString; backfill: z.ZodArray; deletedAt: z.ZodOptional; videoOffsetSec: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; declare const HostLiveConsoleEndedSchema: z.ZodObject<{ endedAt: z.ZodISODateTime; endedEarly: z.ZodBoolean; endedReason: z.ZodEnum<{ HOST_TERMINATED: "HOST_TERMINATED"; HOST_TERMINATED_EARLY: "HOST_TERMINATED_EARLY"; AUTO_AFTER_SILENCE: "AUTO_AFTER_SILENCE"; AUTO_AT_SCHEDULED_END: "AUTO_AT_SCHEDULED_END"; ADMIN_FORCED: "ADMIN_FORCED"; }>; replayState: z.ZodEnum<{ PROCESSING: "PROCESSING"; UNAVAILABLE: "UNAVAILABLE"; READY: "READY"; }>; replayAvailableAt: z.ZodNullable; }, z.core.$strip>; /** * Discriminator for `console.audience.activity`. Distinct from * `MetricsTick` (aggregate counters) — this is the per-event chip * stream that renders as "Alice joined", "Ticket sold to Bob". */ declare const AudienceActivityKindSchema: z.ZodEnum<{ TICKET_SOLD: "TICKET_SOLD"; VIEWER_JOINED: "VIEWER_JOINED"; VIEWER_LEFT: "VIEWER_LEFT"; }>; declare const AudienceActivityPayloadSchema: z.ZodObject<{ id: z.ZodString; eventId: z.ZodString; kind: z.ZodEnum<{ TICKET_SOLD: "TICKET_SOLD"; VIEWER_JOINED: "VIEWER_JOINED"; VIEWER_LEFT: "VIEWER_LEFT"; }>; userId: z.ZodString; displayName: z.ZodString; colorHex: z.ZodString; message: z.ZodString; occurredAt: z.ZodISODateTime; viewerCount: z.ZodNullable; }, z.core.$strip>; declare const HostLiveConsolePayloadSchema: z.ZodObject<{ serverNow: z.ZodISODateTime; slice: z.ZodEnum<{ LIVE: "LIVE"; ENDED: "ENDED"; PRE_LIVE: "PRE_LIVE"; }>; event: z.ZodObject<{ id: z.ZodString; title: z.ZodString; scheduledStart: z.ZodISODateTime; scheduledEnd: z.ZodISODateTime; scheduledStartLocal: z.ZodISODateTime; scheduledEndLocal: z.ZodISODateTime; extendedEndAt: z.ZodNullable; effectiveEndAt: z.ZodISODateTime; extensionMinutes: z.ZodNumber; state: z.ZodEnum<{ readonly DRAFT: "DRAFT"; readonly SCHEDULED: "SCHEDULED"; readonly READY_FOR_TEST: "READY_FOR_TEST"; readonly LIVE: "LIVE"; readonly ENDED: "ENDED"; readonly REPLAY_READY: "REPLAY_READY"; readonly ARCHIVED: "ARCHIVED"; readonly CANCELLED: "CANCELLED"; readonly PAUSED: "PAUSED"; readonly FAILED: "FAILED"; }>; currency: z.ZodString; accessModel: z.ZodString; }, z.core.$strip>; controls: z.ZodObject<{ streamEnabled: z.ZodBoolean; chatEnabled: z.ZodBoolean; canGoLive: z.ZodBoolean; canEndLive: z.ZodBoolean; requiresReauthToEnd: z.ZodBoolean; canExtend: z.ZodBoolean; extensionMinutesRemaining: z.ZodNumber; }, z.core.$strip>; metrics: z.ZodObject<{ viewers: z.ZodNumber; peakViewers: z.ZodNumber; ticketsSold: z.ZodNumber; revenue: z.ZodObject<{ value: z.ZodString; currency: z.ZodString; }, z.core.$strip>; joinedTotal: z.ZodNumber; }, z.core.$strip>; telemetry: z.ZodNullable; ingestHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; DEGRADED: "DEGRADED"; INGEST_DOWN: "INGEST_DOWN"; }>; lastSampleAt: z.ZodISODateTime; }, z.core.$strip>>; crew: z.ZodArray; online: z.ZodBoolean; }, z.core.$strip>>; alerts: z.ZodArray; severity: z.ZodEnum<{ WARN: "WARN"; INFO: "INFO"; ERROR: "ERROR"; }>; message: z.ZodString; startedAt: z.ZodISODateTime; acknowledgedAt: z.ZodNullable; }, z.core.$strip>>; activity: z.ZodArray; userId: z.ZodString; displayName: z.ZodString; colorHex: z.ZodString; message: z.ZodString; occurredAt: z.ZodISODateTime; viewerCount: z.ZodNullable; }, z.core.$strip>>; chat: z.ZodObject<{ enabled: z.ZodBoolean; socketNamespace: z.ZodString; backfill: z.ZodArray; deletedAt: z.ZodOptional; videoOffsetSec: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; ended: z.ZodNullable; replayState: z.ZodEnum<{ PROCESSING: "PROCESSING"; UNAVAILABLE: "UNAVAILABLE"; READY: "READY"; }>; replayAvailableAt: z.ZodNullable; }, z.core.$strip>>; livePreview: z.ZodNullable>; }, z.core.$strip>; declare const HostEventEngagementTimelineQuerySchema: z.ZodObject<{ from: z.ZodOptional; to: z.ZodOptional; }, z.core.$strip>; declare const HostEventEngagementTimelineBucketSchema: z.ZodObject<{ bucketStart: z.ZodISODateTime; concurrentViewers: z.ZodNumber; chatMessages: z.ZodNullable; reactions: z.ZodNullable; bitrateKbps: z.ZodNullable; ingestHealth: z.ZodNullable>; resolution: z.ZodNullable; }, z.core.$strip>; declare const HostEventEngagementTimelineResponseSchema: z.ZodObject<{ eventId: z.ZodUUID; from: z.ZodISODateTime; to: z.ZodISODateTime; granularity: z.ZodLiteral<"minute">; buckets: z.ZodArray; reactions: z.ZodNullable; bitrateKbps: z.ZodNullable; ingestHealth: z.ZodNullable>; resolution: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; /** Minutes are added to the current effective end, so extensions stack. */ declare const ExtendLiveRequestSchema: z.ZodObject<{ minutes: z.ZodNumber; }, z.core.$strip>; declare const ExtendLiveResponseSchema: z.ZodObject<{ eventId: z.ZodUUID; scheduledEnd: z.ZodISODateTime; extendedEndAt: z.ZodISODateTime; effectiveEndAt: z.ZodISODateTime; extensionMinutes: z.ZodNumber; extensionMinutesRemaining: z.ZodNumber; }, z.core.$strip>; /** `console.event.ending_soon`. Viewers instead get an EVENT_ENDING_SOON notification. */ declare const HostConsoleEndingSoonPayloadSchema: z.ZodObject<{ eventId: z.ZodString; title: z.ZodString; minutesRemaining: z.ZodNumber; effectiveEndAt: z.ZodISODateTime; extensionMinutes: z.ZodNumber; extensionMinutesRemaining: z.ZodNumber; message: z.ZodString; emittedAt: z.ZodISODateTime; }, z.core.$strip>; /** `console.event.extended` (host) and `event.extended` (viewers). */ declare const EventExtendedPayloadSchema: z.ZodObject<{ eventId: z.ZodString; previousEffectiveEndAt: z.ZodISODateTime; effectiveEndAt: z.ZodISODateTime; minutes: z.ZodNumber; extensionMinutes: z.ZodNumber; emittedAt: z.ZodISODateTime; }, z.core.$strip>; /** * Live-metrics tick. `metrics` shares the shape of the REST * `HostLiveConsoleMetrics` snapshot so a shared FE renderer can accept * either source. Emitted on `console.metrics.tick`. */ declare const MetricsTickPayloadSchema: z.ZodObject<{ eventId: z.ZodString; metrics: z.ZodObject<{ viewers: z.ZodNumber; peakViewers: z.ZodNumber; ticketsSold: z.ZodNumber; revenue: z.ZodObject<{ value: z.ZodString; currency: z.ZodString; }, z.core.$strip>; joinedTotal: z.ZodNumber; }, z.core.$strip>; emittedAt: z.ZodISODateTime; }, z.core.$strip>; /** * Live-telemetry tick. Same shape reuse rule as `MetricsTickPayload`. * Emitted on `console.telemetry.tick`. */ declare const TelemetryTickPayloadSchema: z.ZodObject<{ eventId: z.ZodString; telemetry: z.ZodObject<{ bitrateKbps: z.ZodNumber; resolution: z.ZodString; latencyMs: z.ZodNullable; ingestHealth: z.ZodEnum<{ HEALTHY: "HEALTHY"; DEGRADED: "DEGRADED"; INGEST_DOWN: "INGEST_DOWN"; }>; lastSampleAt: z.ZodISODateTime; }, z.core.$strip>; emittedAt: z.ZodISODateTime; }, z.core.$strip>; /** * Fired when replay processing finishes and playback is available. * Discriminated on `toState = 'REPLAY_READY'` because the same channel * carries other lifecycle transitions. */ declare const ReplayReadyStatePayloadSchema: z.ZodObject<{ toState: z.ZodLiteral<"REPLAY_READY">; replayState: z.ZodLiteral<"READY">; playbackUrl: z.ZodURL; occurredAt: z.ZodISODateTime; }, z.core.$strip>; /** * ACK for `host_console.subscribe`. Success carries the running set of * subscribed events on this socket; failure surfaces a stable * machine-readable `code`. */ declare const HostConsoleSubscribeAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; eventId: z.ZodString; subscribed: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; eventId: z.ZodString; code: z.ZodEnum<{ unauthorized: "unauthorized"; invalid_payload: "invalid_payload"; internal: "internal"; not_owned: "not_owned"; cap_reached: "cap_reached"; }>; message: z.ZodString; }, z.core.$strip>], "ok">; /** ACK for `host_console.unsubscribe`. */ declare const HostConsoleUnsubscribeAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; eventId: z.ZodString; subscribed: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; eventId: z.ZodString; code: z.ZodEnum<{ unauthorized: "unauthorized"; invalid_payload: "invalid_payload"; internal: "internal"; }>; message: z.ZodString; }, z.core.$strip>], "ok">; /** * ACK for `host_console.subscribe_active`. Bulk-joins the caller's * active events (SCHEDULED/READY_FOR_TEST/LIVE/PAUSED). `truncated` is * set when the caller has more active events than the socket cap. */ declare const HostConsoleSubscribeActiveAckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; subscribed: z.ZodArray; added: z.ZodArray; truncated: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; code: z.ZodEnum<{ unauthorized: "unauthorized"; internal: "internal"; }>; message: z.ZodString; }, z.core.$strip>], "ok">; declare const HostConsoleEvents: { readonly AlertRaised: "console.alert.raised"; readonly AlertResolved: "console.alert.resolved"; readonly StateChanged: "console.state.changed"; readonly CrewPresence: "console.crew.presence"; readonly MetricsTick: "console.metrics.tick"; readonly TelemetryTick: "console.telemetry.tick"; readonly AudienceActivity: "console.audience.activity"; readonly ChatMessagePosted: "console.chat.message.posted"; readonly ChatMessageDeleted: "console.chat.message.deleted"; readonly ChatRoomMuted: "console.chat.room.muted"; readonly ChatRoomUnmuted: "console.chat.room.unmuted"; readonly PreLiveChecklistTick: "console.pre_live.checklist.tick"; readonly EndingSoon: "console.event.ending_soon"; readonly Extended: "console.event.extended"; }; declare const HostConsoleClientEvents: { readonly Subscribe: "host_console.subscribe"; readonly Unsubscribe: "host_console.unsubscribe"; readonly SubscribeActive: "host_console.subscribe_active"; }; type HostEventsTab = z.infer; type HostDateRangeQuery = z.infer; type HostOverviewQuery = z.infer; type HostSearchQuery = z.infer; type HostEventsListQuery = z.infer; type HostEventPatch = z.infer; type HostEventRowResponse = z.infer; type HostEventsTabResponse = z.infer; type HostEventsTabCountsResponse = z.infer; type HostEventWizardStart = z.infer; type HostEventsListPagedQuery = z.infer; type HostEventsTabCountsQuery = z.infer; type HostEventWizardStartResponse = z.infer; type HostEventWizardStepResponse = z.infer; type HostEventGuestImportResponse = z.infer; type HostEventGuestsQuery = z.infer; type HostEventGuest = z.infer; type HostEventGuestCounts = z.infer; type HostEventGuestsResponse = z.infer; type HostEventGuestsAddRequest = z.infer; type HostEventGuestsAddResponse = z.infer; type HostEventGuestRemoveQuery = z.infer; type HostEventGuestSummary = z.infer; type HostEventWizardPublishResponse = z.infer; type HostEventCancelResponse = z.infer; type HostOverviewResponse = z.infer; type HostSearchResponse = z.infer; type HostNotificationsUnreadCount = z.infer; type HostEventsTabResponseClass = z.infer; type HostEventFullResponse = z.infer; type HostEventWizardCurrentResponse = z.infer; type HostSearchHit = z.infer; type HostActivityListPage = z.infer; type ReadinessItem = z.infer; type HostEventReadinessBlock = z.infer; type HostEventShareResponse = z.infer; type HostEventDashboardResponse = z.infer; type PreLiveChecklistItemId = z.infer; type PreLiveChecklistItemState = z.infer; type PreLiveChecklistItemSeverity = z.infer; type PreLiveChecklistItemMetrics = z.infer; type PreLiveChecklistItem = z.infer; type PreLiveChecklistStatus = z.infer; type VendorAssignedEventResponse = z.infer; type HostEventReadinessResponse = z.infer; type ListHostEventDashboardQuery = z.infer; type HostEventCrewMember = z.infer; type HostProductionCrewPhase = z.infer; type ListHostProductionCrewQuery = z.infer; type HostProductionCrewItem = z.infer; type PagedHostProductionCrewResponse = z.infer; type ReadinessItemId = z.infer; type ReadinessItemState = z.infer; type ReadinessBlockReason = z.infer; type StreamingStatus = z.infer; type ProductionMode = z.infer; type LiveConsoleSlice = z.infer; type EndedReplayState = z.infer; type LiveIngestHealth = z.infer; type EndedReason = z.infer; type EventStreamAlertKind = z.infer; type EventStreamAlertSeverity = z.infer; type HostLiveConsoleEvent = z.infer; type HostLiveConsoleControls = z.infer; type HostLiveConsoleMetrics = z.infer; type HostLiveConsoleTelemetry = z.infer; type HostLiveConsoleCrewMember = z.infer; type HostLiveConsoleAlert = z.infer; type HostLiveConsoleChat = z.infer; type HostLiveConsoleEnded = z.infer; type HostLiveConsolePayload = z.infer; type HostEventAudienceResponse = z.infer; type HostEventEngagementTimeline = z.infer; type HostEventReplayPerformanceResponse = z.infer; type HostEventEngagementTimelineResponse = z.infer; type HostEventEngagementTimelineBucket = z.infer; type ExtendLiveRequest = z.infer; type ExtendLiveResponse = z.infer; type HostConsoleEndingSoonPayload = z.infer; type EventExtendedPayload = z.infer; type MetricsTickPayload = z.infer; type TelemetryTickPayload = z.infer; type ReplayReadyStatePayload = z.infer; type AudienceActivityKind = z.infer; type AudienceActivityPayload = z.infer; type HostConsoleSubscribeAck = z.infer; type HostConsoleUnsubscribeAck = z.infer; type HostConsoleSubscribeActiveAck = z.infer; type HostConsoleEventName = (typeof HostConsoleEvents)[keyof typeof HostConsoleEvents]; type HostConsoleClientEventName = (typeof HostConsoleClientEvents)[keyof typeof HostConsoleClientEvents]; export { type AudienceActivityKind, AudienceActivityKindSchema, type AudienceActivityPayload, AudienceActivityPayloadSchema, type EndedReason, EndedReasonSchema, type EndedReplayState, EndedReplayStateSchema, type EventExtendedPayload, EventExtendedPayloadSchema, type EventStreamAlertKind, EventStreamAlertKindSchema, type EventStreamAlertSeverity, EventStreamAlertSeveritySchema, type ExtendLiveRequest, ExtendLiveRequestSchema, type ExtendLiveResponse, ExtendLiveResponseSchema, HOST_DATE_RANGE_PRESETS, type HostActivityListPage, HostActivityListPageSchema, type HostConsoleClientEventName, HostConsoleClientEvents, type HostConsoleEndingSoonPayload, HostConsoleEndingSoonPayloadSchema, type HostConsoleEventName, HostConsoleEvents, type HostConsoleSubscribeAck, HostConsoleSubscribeAckSchema, type HostConsoleSubscribeActiveAck, HostConsoleSubscribeActiveAckSchema, type HostConsoleUnsubscribeAck, HostConsoleUnsubscribeAckSchema, type HostDateRangePreset, type HostDateRangeQuery, HostDateRangeQuerySchema, type HostEventAudienceResponse, HostEventAudienceResponseSchema, type HostEventCancelResponse, HostEventCancelResponseSchema, type HostEventCrewMember, HostEventCrewMemberSchema, HostEventDashboardPostEventBlockSchema, type HostEventDashboardResponse, HostEventDashboardResponseSchema, type HostEventEngagementTimeline, type HostEventEngagementTimelineBucket, HostEventEngagementTimelineBucketSchema, HostEventEngagementTimelineQuerySchema, type HostEventEngagementTimelineResponse, HostEventEngagementTimelineResponseSchema, type HostEventFullResponse, HostEventFullResponseSchema, type HostEventGuest, type HostEventGuestCounts, HostEventGuestCountsSchema, type HostEventGuestImportResponse, HostEventGuestImportResponseSchema, type HostEventGuestRemoveQuery, HostEventGuestRemoveQuerySchema, HostEventGuestSchema, type HostEventGuestSummary, HostEventGuestSummarySchema, type HostEventGuestsAddRequest, HostEventGuestsAddRequestSchema, type HostEventGuestsAddResponse, HostEventGuestsAddResponseSchema, type HostEventGuestsQuery, HostEventGuestsQuerySchema, type HostEventGuestsResponse, HostEventGuestsResponseSchema, type HostEventPatch, HostEventPatchSchema, type HostEventReadinessBlock, HostEventReadinessBlockSchema, type HostEventReadinessResponse, HostEventReadinessResponseSchema, type HostEventReplayPerformanceResponse, HostEventReplayPerformanceResponseSchema, type HostEventRowResponse, HostEventRowResponseSchema, type HostEventShareResponse, HostEventShareResponseSchema, type HostEventWizardCurrentResponse, HostEventWizardCurrentResponseSchema, type HostEventWizardPublishResponse, HostEventWizardPublishResponseSchema, type HostEventWizardStart, type HostEventWizardStartResponse, HostEventWizardStartResponseSchema, HostEventWizardStartSchema, type HostEventWizardStepResponse, HostEventWizardStepResponseSchema, type HostEventsListPagedQuery, HostEventsListPagedQuerySchema, type HostEventsListQuery, HostEventsListQuerySchema, type HostEventsTab, type HostEventsTabCountsQuery, HostEventsTabCountsQuerySchema, type HostEventsTabCountsResponse, HostEventsTabCountsResponseSchema, type HostEventsTabResponse, type HostEventsTabResponseClass, HostEventsTabResponseClassSchema, HostEventsTabResponseSchema, HostEventsTabSchema, type HostLiveConsoleAlert, HostLiveConsoleAlertSchema, type HostLiveConsoleChat, HostLiveConsoleChatSchema, type HostLiveConsoleControls, HostLiveConsoleControlsSchema, type HostLiveConsoleCrewMember, HostLiveConsoleCrewMemberSchema, type HostLiveConsoleEnded, HostLiveConsoleEndedSchema, type HostLiveConsoleEvent, HostLiveConsoleEventSchema, type HostLiveConsoleMetrics, HostLiveConsoleMetricsSchema, type HostLiveConsolePayload, HostLiveConsolePayloadSchema, type HostLiveConsoleTelemetry, HostLiveConsoleTelemetrySchema, type HostNotificationsUnreadCount, HostNotificationsUnreadCountSchema, type HostOverviewQuery, HostOverviewQuerySchema, type HostOverviewResponse, HostOverviewResponseSchema, type HostProductionCrewItem, HostProductionCrewItemSchema, type HostProductionCrewPhase, HostProductionCrewPhaseSchema, type HostSearchHit, HostSearchHitSchema, type HostSearchQuery, HostSearchQuerySchema, type HostSearchResponse, HostSearchResponseSchema, HostSearchTermSchema, type ListHostEventDashboardQuery, ListHostEventDashboardQuerySchema, type ListHostProductionCrewQuery, ListHostProductionCrewQuerySchema, type LiveConsoleSlice, LiveConsoleSliceSchema, type LiveIngestHealth, LiveIngestHealthSchema, type MetricsTickPayload, MetricsTickPayloadSchema, type PagedHostProductionCrewResponse, PagedHostProductionCrewResponseSchema, type PreLiveChecklistItem, type PreLiveChecklistItemId, PreLiveChecklistItemIdSchema, type PreLiveChecklistItemMetrics, PreLiveChecklistItemMetricsSchema, PreLiveChecklistItemSchema, type PreLiveChecklistItemSeverity, PreLiveChecklistItemSeveritySchema, type PreLiveChecklistItemState, PreLiveChecklistItemStateSchema, type PreLiveChecklistStatus, PreLiveChecklistStatusSchema, type ProductionMode, ProductionModeSchema, type ReadinessBlockReason, ReadinessBlockReasonSchema, type ReadinessItem, type ReadinessItemId, ReadinessItemIdSchema, ReadinessItemSchema, type ReadinessItemState, ReadinessItemStateSchema, type ReplayReadyStatePayload, ReplayReadyStatePayloadSchema, type StreamingStatus, StreamingStatusSchema, type TelemetryTickPayload, TelemetryTickPayloadSchema, type VendorAssignedEventResponse, VendorAssignedEventResponseSchema };