import type { BookingTicketHandle, ScanOrderTempOrder } from '../types';
interface UseSalesSdkTempOrderSyncParams {
    enabled?: boolean;
    /** 页面/Tab 激活态；主屏在 false → true 时会额外推送一次 tempOrder。 */
    isActive?: boolean;
    osKey: string;
    bookingTicket: BookingTicketHandle | null;
    refreshRootSnapshot: () => void;
}
/**
 * SalesSdk tempOrder 双屏同步：
 * 主屏在快照刷新后发布 tempOrder；isActive 从 false → true 时再推送一次当前 tempOrder。
 * 副屏接收后写回 OS 并刷新 React 快照。
 */
export declare function useSalesSdkTempOrderSync({ enabled, isActive, osKey, bookingTicket, refreshRootSnapshot, }: UseSalesSdkTempOrderSyncParams): {
    publishTempOrder: (this: unknown, tempOrder: ScanOrderTempOrder | null) => void;
    isSecondaryScreen: boolean;
};
export {};
