import React from 'react';
import type { BaseResponsiveProps } from '../../responsive/type';
import type { ILoadProductsParams } from '../../plus/salesSdk';
import type { PisellReservationTableRow } from '../../plus/pisellReservation/types';
import type { BigSaleMode, BigSaleProps } from './types';
import './dialog.less';
/** dine_in 新建时传入的商品 + 桌位种子数据。 */
export interface BigSaleDialogCreateSeed {
    reservationRuleProduct: Record<string, any>;
    row: PisellReservationTableRow;
    /** 写入 bookings[].appointment_status，默认 `started`。 */
    appointmentStatus?: string;
}
export interface BigSaleDialogProps extends BaseResponsiveProps {
    open: boolean;
    orderId?: number;
    createSeed?: BigSaleDialogCreateSeed | null;
    onClose?: () => void;
    callback?: (result: any) => void;
    rulesHooks?: BigSaleProps['rulesHooks'];
    title?: string;
    /** 常驻 mount BigSale，关闭时不卸载（对齐 CachedEditBookingPlugin 预热）。 */
    preloaded?: boolean;
    osKey?: string;
    mode?: BigSaleMode;
    businessCode?: string;
    bookingConfigParams?: Record<string, any>;
    productDisplayConfig?: BigSaleProps['productDisplayConfig'];
    productLoadParams?: ILoadProductsParams;
    /** 桌位单类型，透传 OS otherParams.type。 */
    orderType?: string;
    /** 每次 handleOpen 递增，保证同实例重复开桌仍会 seed。 */
    openNonce?: number;
}
declare const _default: React.ForwardRefExoticComponent<BigSaleDialogProps & React.RefAttributes<unknown>>;
export default _default;
