/**
 * 平面图（floor-plan）Server 模块类型
 * 与 GET /shop/schedule/floor-plan 系列接口数据结构对齐
 */
export interface FloorPlanItem {
    id: number;
    shop_id?: number;
    code: string;
    name: string | Record<string, string>;
    layout: unknown[];
    canvas_width: number;
    canvas_height: number;
    sort: number;
    status: number;
    created_at?: string;
    updated_at?: string;
}
export interface FloorPlanState {
    list: FloorPlanItem[];
    map: Map<string, FloorPlanItem>;
    codeMap: Map<string, FloorPlanItem>;
}
/** pubsub / Ably 推送消息（与《平面图编辑器API文档》Socket 一节一致） */
export interface FloorPlanSyncMessage {
    module?: string;
    action?: string;
    operation?: string;
    id?: number;
    ids?: number[];
    body?: Partial<FloorPlanItem> & {
        id?: number;
    };
    message_uuid?: string;
    timestamp?: string;
    _channelKey?: string;
}
export declare const FloorPlanHooks: {
    /** 本地列表变更（预加载、合并、删除后） */
    readonly onFloorPlansChanged: "server_floor_plan:onFloorPlansChanged";
    /** pubsub 同步处理完成，供 Server 向订阅者推送最新查询结果 */
    readonly onFloorPlanSyncCompleted: "server_floor_plan:onFloorPlanSyncCompleted";
};
export type FloorPlanHooksType = (typeof FloorPlanHooks)[keyof typeof FloorPlanHooks];
