import type { WsEventType, WsEventPayload } from "./index.js";
export declare const ShopWsEvent: {
    readonly EVENT: "shop:event";
    readonly DELIVERY_ACK: "shop:event:delivery-ack";
    readonly DELIVERY_ACKNOWLEDGED: "shop:event:delivery-acknowledged";
};
export type ShopEventDeliveryAckView = "cashier" | "production";
export interface ShopEventDeliveryAckPayload {
    shopId: string;
    eventId: string;
    eventType: string;
    entityId?: string | null;
    orderId?: string | null;
    orderItemId?: string | null;
    view: ShopEventDeliveryAckView;
    stationId?: string | null;
    cashSessionId?: string | null;
    createdAt: string;
}
export type ShopEventWire<T extends WsEventType = WsEventType> = {
    shopId: string;
    seq: string;
    type: T;
    payload: WsEventPayload<T>;
    createdAt: string;
};
/**
 * Event socket.io unique: "shop:event"
 * Payload = ShopEventWire (générique)
 */
export type ShopWsEvents = {
    [ShopWsEvent.EVENT]: ShopEventWire;
    [ShopWsEvent.DELIVERY_ACK]: ShopEventDeliveryAckPayload;
    [ShopWsEvent.DELIVERY_ACKNOWLEDGED]: ShopEventDeliveryAckPayload;
};
