import type { BookingTicketHandle, ScanOrderTempOrder } from '../types';
import type { HolderConfirmBridge } from '../holderConfirm/createHolderConfirmBridge';
export interface EnsureHoldersBeforeSubmitInput {
    bookingTicket: BookingTicketHandle | null | undefined;
    tempOrder?: ScanOrderTempOrder | null;
    customerId?: number | string | null;
    onMutate?: () => void;
    /** 实例级 Holder 确认弹窗 bridge */
    holderConfirmBridge?: HolderConfirmBridge;
}
/**
 * 保存 / 结账前拦截：条件满足时弹出 holder 确认弹窗。
 *
 * @returns true 可继续 submit / checkout；false 用户关闭弹窗放弃，应中止
 */
export declare function ensureHoldersBeforeSubmit(input: EnsureHoldersBeforeSubmitInput): Promise<boolean>;
