import React from 'react'; import type { TicketBookingSecondaryDisplayConfig } from './components/ticketBooking/useTicketBookingSecondaryScreen'; export type { SecondaryScreenDisplaySettings } from './components/ticketBooking/useTicketBookingSecondaryScreen'; import { ProductDisplayConfig, ProductDisplayPresetKey } from './components/ProductDisplayAdapter/types'; import './index.less'; export declare const ticketBookingInitialState: any; interface TicketBookingProps { productExtensionType: string[]; bookingConfigParams: Record; isShowMenuBar?: boolean; onPrerenderComplete?: () => void; isShowTimeBar?: boolean; isShowFloatButtons?: boolean; productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig; isActive?: boolean; rulesHooks?: any; businessCode?: string; storeRef?: React.MutableRefObject; /** 是否是弹窗编辑模式(由 TicketBookingDialog 传入) */ isEditTicketMode?: boolean; /** 编辑模式下的初始 store 状态,会在 store 创建时合并进去 */ editModeInitialState?: Record; /** * 副屏展示兜底:在未通过副屏设置弹窗保存过完整本地配置前,与默认及旧版缩放迁移合并; * 保存后仅以 localStorage 为准。 */ secondaryScreenDisplay?: TicketBookingSecondaryDisplayConfig; /** Rendered at the top of BookingInfo body, before the original body content. */ bodyTopSlot?: React.ReactNode; } declare const _default: (props: TicketBookingProps) => React.JSX.Element; export default _default;